1 function testArrayInWithIndexedProto()
3 Array.prototype[0] = "Got me";
4 var zeroPresent, zeroPresent2;
5 // Need to go to 2*RUNLOOP because in the failure mode this is
6 // testing we have various side-exits in there due to interp and
7 // tracer not agreeing that confuse the issue and cause us to not
8 // hit the bad case within RUNLOOP iterations.
9 for (var j = 0; j < 2*RUNLOOP; ++j) {
10 zeroPresent = 0 in [];
15 for (var j = 0; j < 2*RUNLOOP; ++j) {
16 zeroPresent2 = 0 in arr;
18 return [zeroPresent, zeroPresent2];
21 var [ret, ret2] = testArrayInWithIndexedProto();
28 sideExitIntoInterpreter: 0,