Hoisting and the Temporal Dead Zone (TDZ)
Prerequisites
Understand what an execution context is and its phases.
Understand how to determine the scope of a variable in JavaScript.
Hoisting
Hoisting is the process by which JavaScript allocates memory for variable and function declarations.
...
suleimanyunus.dev4 min read