blob: b771da02fcaa6ac74e9e2028e83a79e0e6343046 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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);
|