Web Platform
Hoisting in JavaScript - what the metaphor really means
May 3, 2026 · 10 min read #javascript #hoisting
4 articles tagged with scope
Web Platform
May 3, 2026 · 10 min read #javascript #hoisting
Web Platform
Apr 24, 2026 · 14 min read #javascript #closure
Note
The common advice says: always let, never var. But each of them communicates something different about the author's intent. A note on when var still makes sense and how to choose between them.
May 4, 2026 #javascript #scope #fundamentals
Note
How does the engine know that one function can see another's variables, but not the other way around? In JavaScript it comes down to where the code sits, decided before anything runs. That's lexical scope.
May 4, 2026 #javascript #scope #fundamentals