blob: 78763e166aead46154e4fc615072284bbf12d0f6 [file] [log] [blame]
// This test should not crash.
var done = false;
function runNearStackLimit(f) {
function t() {
try {
return t();
} catch (e) {
if (!done)
return f();
}
}
return t()
}
runNearStackLimit(() => {
done = true;
eval("({ __proto__ : [], __proto__: {} })")
});