blob: 6826761902901d7babda985ba4c8dd9764bff8fc [file] [log] [blame]
//@ skip if $memoryLimited
function foo() {
function bar(a0) {
try {
for (let q of a0) {}
p.isFrozen();
} catch {}
return bar;
}
let p = new Proxy([], { get: bar });
bar(p);
}
for (let i=0; i<100; i++) {
foo();
}