Source code
Revision control
Copy as Markdown
Other Tools
var res = 0;
var o = {__proto__: function() { res++; }};
function f() {
for (var i=0; i<70; i++) {
o.__proto__();
}
}
f();
assertEq(res, 70);
var res = 0;
var o = {__proto__: function() { res++; }};
function f() {
for (var i=0; i<70; i++) {
o.__proto__();
}
}
f();
assertEq(res, 70);