#javascript #hoisting #scope #tdz #fundamentals 10 min read Hoisting in JavaScript - what the metaphor really means
#javascript #closure #scope #fundamentals 14 min read Closure in JavaScript, or how a function can remember things
Note May 4, 2026 When to use let, when var in JavaScript 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. # javascript # scope # fundamentals
Note May 4, 2026 What lexical scope is in JavaScript 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. # javascript # scope # fundamentals