1 2 3 4 5 6 7 8 9
function f() { for (var i=0; i<100; i++) { // Int32Array to force an IC in Ion. var o = (i == 20) ? new Int32Array(1) : {}; o[0] = i; assertEq(o[0], i); } } f();