Source code
Revision control
Copy as Markdown
Other Tools
this.x1 = 'y';
// evalcx is like evaluate and not eval, and so can introduce a global let binding.
evalcx("let x1 = 'z';", this);
assertEq(x1, 'z');
this.x1 = 'y';
// evalcx is like evaluate and not eval, and so can introduce a global let binding.
evalcx("let x1 = 'z';", this);
assertEq(x1, 'z');