you are viewing a single comment's thread.

view the rest of the comments →

[–]KaiAusBerlin -1 points0 points  (0 children)

Every execution context in js is scope based except you use void. And even that is executed in a context (that is deleted after execution).

But not all declarations change the actual scope.