blob: a11ff983b3fa742790e4e72e22b07d41c973920b [file] [log] [blame]
let map = new Map();
let count = 0;
function outer() {
++count;
if (count >= 5)
return;
function inner() {
function getPrototypeOf() {
const result = outer();
return null;
}
const handler = { getPrototypeOf: getPrototypeOf };
const p = new Proxy(map,handler);
map.__proto__ = p;
const result = inner();
}
try {
const result = inner();
} catch { }
}
const result = outer();