News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by austincheney on Saturday May 15, 2021 @01:48PM (#27167312)
To be more specific the term is hoist which means the declarations are pushed to the top of the scope at run time for maximum availability, and var is function scoped instead of block scoped. Block scoping is often more specific because a function body is a block as well.

There are no comments on this comment yet.