1 2 3 4 5 6 7 8 9 10 11 12 13
// |jit-test| skip-if: !('oomTest' in this) function f(s) { s + "x"; s.indexOf("y") === 0; oomTest(new Function(s)); } var s = ` class TestClass { constructor() {} } for (var fun of hasPrototype) {} `; if (s.length) f(s);