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