Chapter 07
Scope, hoisting, and execution contexts
How bindings are created and found: scope, hoisting, the TDZ, and the spec machinery underneath — execution contexts, Environment Records, and realms.9 questions
- 010What's the difference between
var,let, andconst?Coming soonCoreeasy - 020What is hoisting, really?Coming soonCoremedium
- 030What is the temporal dead zone?Coming soonmedium
- 040What is lexical scope, and how does the scope chain work?Coming soonCoremedium
- 050What is an execution context, and what does the call stack hold?Coming soonCoremedium
- 060What is an Environment Record?Coming soonCorehard
- 070What is the global object, and how does
globalThisrelate to global variables?Coming soonmedium - 080What causes "Maximum call stack size exceeded", and do tail calls help?Coming soonmedium
- 090What is a realm, and why does
instanceof Arrayfail across iframes?Coming soonhard