michael@0: (function() { michael@0: var x; michael@0: for (let j = 0; j < 1; j = j + 1) michael@0: x = function() { return j; }; michael@0: assertEq(x(), 1); michael@0: })();