Source code
Revision control
Copy as Markdown
Other Tools
var test;
function f() {
with ({a: 2}) {
{
let a = 5;
test = (function () { return a; })();
}
}
}
f();
assertEq(test, 5);
var test;
function f() {
with ({a: 2}) {
{
let a = 5;
test = (function () { return a; })();
}
}
}
f();
assertEq(test, 5);