Source code

Revision control

Copy as Markdown

Other Tools

// Passing global with discardSource shouldn't crash.
const g = newGlobal({
discardSource: true
});
evalReturningScope(`
var f = function(){
var g = function(){
};
g();
};
f();
`, g);