1 2 3 4 5 6
(function() { var x; for (let j = 0; j < 1; j = j + 1) x = function() { return j; }; assertEq(x(), 0); })();