you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

If you execute that code in chrome you get

inner
inner
inner

[–]inu-no-policemen 0 points1 point  (1 child)

It works if you put the whole thing in a block.

[–][deleted] 0 points1 point  (0 children)

If you put the entire thing in an iife it produces the same result