Source code

Revision control

Copy as Markdown

Other Tools

function test(stdlib, foreign) {
"use asm"
function f(y) {
y = +y;
}
return f;
};
var g = newGlobal({newCompartment: true});
g.parent = this;
g.eval(`
var dbg = new Debugger();
var parentw = dbg.addDebuggee(parent);
var testw = parentw.makeDebuggeeValue(parent.test);
var scriptw = testw.script;
`);