mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
12 lines
149 B
JavaScript
12 lines
149 B
JavaScript
function f() {
|
|
var o;
|
|
for (var i=0; i < 1000; i++) {
|
|
o = new Object();
|
|
}
|
|
}
|
|
|
|
var d = new Date();
|
|
f();
|
|
print("took", (new Date()) - d, "ms.");
|
|
|