2dbi

Explain JavaScript execution contexts, scope and hoisting

viaGlassdoor

Problem Explain JavaScript execution contexts, scope, and hoisting.

Be ready to discuss

  • Global vs function execution context; the creation and execution phases.
  • The scope chain and lexical scoping.
  • Hoisting of variable and function declarations.
  • var vs let/const and the temporal dead zone.
Add a follow-up question they asked
No follow-ups yet. Be the first to add one.
asked …
LeaderboardSalary
Language
Account