1 2 3 4 5 6 7 8 9 10 11 12 13 14
function foo() { function testGeneratorDeepBail() { gc(); for (let i = 0; Error(); i++) { for each(var x in [{n: 1}, {n: 1}]) { x[0] = 0; Object.freeze(x); } if (i == 10) break; } } testGeneratorDeepBail(); } foo();