News for hackers. Stuff that matters.
Re:Vanilla JS, fast, lightweight, cross-platform framework by ams6110 on Sunday August 26, 2012 @04:13PM (#4436077)
there's no block scope. Only function scope.

There is global scope as well, and it's (unfortunately in most cases) the default.

Re:Vanilla JS, fast, lightweight, cross-platform framework by MatthewPhillips on Sunday August 26, 2012 @06:14PM (#4436434)
Also there is block scope. let { ... }
Re:Vanilla JS, fast, lightweight, cross-platform framework by evilduck on Sunday August 26, 2012 @09:26PM (#4436974)
AFAIK, let is a Mozilla only feature.