blob: 1f4cfdaedd0b4895ef44ae6dd96b216db8458b70 [file] [log] [blame]
//@ runNoCJIT("--useLLInt=false", "--useDFGJIT=false")
function foo(o) {
return o.i7;
}
var o = {};
for (var i = 0; i < 100; ++i)
o["i" + i] = i;
for (var i = 0; i < 100; i+=2)
delete o["i" + i];
for (var i = 0; i < 100; ++i) {
var result = foo(o);
if (result != 7)
throw "Error: bad result: " + result;
}