Topics

Jump to a topic.

Search questions

Find a question by title, tag, or summary.

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
  1. 010What's the difference between var, let, and const?Coming soonCoreeasy
  2. 020What is hoisting, really?Coming soonCoremedium
  3. 030What is the temporal dead zone?Coming soonmedium
  4. 040What is lexical scope, and how does the scope chain work?Coming soonCoremedium
  5. 050What is an execution context, and what does the call stack hold?Coming soonCoremedium
  6. 060What is an Environment Record?Coming soonCorehard
  7. 070What is the global object, and how does globalThis relate to global variables?Coming soonmedium
  8. 080What causes "Maximum call stack size exceeded", and do tail calls help?Coming soonmedium
  9. 090What is a realm, and why does instanceof Array fail across iframes?Coming soonhard