mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
08a077d57d
patch by petejc@collab.net r=rogerl
12 lines
156 B
JavaScript
12 lines
156 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.");
|
|
|