Source code
Revision control
Copy as Markdown
Other Tools
load(libdir + "evalInFrame.js");
var x = 5;
{
let x = eval("this.x++");
assertEq(evalInFrame(0, "x"), 5);
}
assertEq(x, 6);
load(libdir + "evalInFrame.js");
var x = 5;
{
let x = eval("this.x++");
assertEq(evalInFrame(0, "x"), 5);
}
assertEq(x, 6);