1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
try { function testSlowArrayPopMultiFrame() { a = undefined; function parent(a, i) { i }; function gramps(a, i) { return parent; } var last; for (var i = 0; ; gramps++) { last = gramps(a, i) } }(testSlowArrayPopMultiFrame(), 23); assertEq(0, 1); } catch(e) { assertEq(e instanceof TypeError, true); }