You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
581 B

function test() {
var t = function () {};
var b;
var i;
for (i = 0; i < 2e5; i++) {
b = t.bind('dummy-this', 1, 2);
b = t.bind('dummy-this', 1, 2);
b = t.bind('dummy-this', 1, 2);
b = t.bind('dummy-this', 1, 2);
b = t.bind('dummy-this', 1, 2);
b = t.bind('dummy-this', 1, 2);
b = t.bind('dummy-this', 1, 2);
b = t.bind('dummy-this', 1, 2);
b = t.bind('dummy-this', 1, 2);
b = t.bind('dummy-this', 1, 2);
}
}
try {
test();
} catch (e) {
print(e.stack || e);
throw e;
}