Source code
Revision control
Copy as Markdown
Other Tools
function f() {
{
function g() {
var a = [];
for (var i = 0; i < 10; i++)
a.push({});
for (var i = 0; i < 10; i++)
a[i].m = function() { return 0; }
assertEq(a[8].m !== a[9].m, true);
}
g();
}
}
f()