blob: 74db66b2a98bea4b05fc624e2042d383f698047b [file] [log] [blame]
(function() {
var target = {};
for (var i = 0; i < 200; i++)
target["k" + i] = i;
var proxy = new Proxy(target, {});
var x = 0;
for (var j = 0; j < 1200; j++) {
for (var k in proxy) {
if (k === "k100")
x++;
}
}
if (x !== 1200)
throw new Error("Bad assertion!");
})();