Rare Earth Juejin Tech Community
Sep 20, 2024 · Fundamentals
Understanding JavaScript Pre‑compilation and Hoisting
This article explains JavaScript's pre‑compilation process, including variable and function declaration hoisting, the creation of execution contexts, and the differences between var, let, and const, using several illustrative code examples to clarify how the engine resolves identifiers at runtime.
FundamentalsJavaScriptPre-compilation
0 likes · 7 min read