Source code

Revision control

Copy as Markdown

Other Tools

var evalInFrame = (function (global) {
var dbgGlobal = newGlobal({newCompartment: true});
var dbg = new dbgGlobal.Debugger();
return function evalInFrame(upCount, code) {
dbg.addDebuggee(global);
var frame = dbg.getNewestFrame().older;
var completion = frame.eval(code);
};
})(this);
function* f() {
{
let {} = "xxx";
yield evalInFrame(0, "x");
}
}
var gen = f();
gen.next()