Source code
Revision control
Copy as Markdown
Other Tools
// Don't crash because we're exposing a ScriptSourceObject to JS.
evaluate(`
const src = \`
[function f() {
const v = eval("[]");
v[0] = function() {};
newGlobal({sameZoneAs: this}).findPath(v, src);
}]
\`;
var arr = eval(src);
arr[0]();
`, {envChainObject: {}});