summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/cacheir/bug1345707.js
blob: 616a5e365e7a42d48c3f0a23a5b7f2c37245374f (plain)
1
2
3
4
5
6
7
for (var i=0; i<10; i++) {
    var o = {};
    if (i & 1)
	Object.preventExtensions(o);
    o[0] = i;
    assertEq(0 in o, !(i & 1));
}