1 2 3 4 5 6 7 8
var test; { let a = 5; with ({a: 2}) { test = (function () { return a; })(); } } assertEq(test, 2);