mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 09:34:00 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
784 B
784 B
Hoisting
Hoisting is JavaScript's behavior of moving variable and function declarations to the top of their containing scope before code execution. Variables declared with var are hoisted and initialized as undefined. Function declarations are fully hoisted, meaning they can be called before they appear in the source code. let and const are hoisted but not initialized, resulting in a temporal dead zone.
Visit the following resources to learn more: