1 2 3 4 5 6 7 8 9
for (a of []) {} var log = ""; (function() { for (a of [,0]) {} const y = "FOO"; log += y; function inner() { log += y; } })() assertEq(log, "FOO");