Files
developer-roadmap/roadmaps/javascript/content/lexical-scoping@q7b5iMJ1Lfka5A-K-YcaN.md
T
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

639 B

Lexical scoping

Before one can make an intuition of closures in JavaScript, it's important to first get the hang of the term 'lexical environment'. In simple words, the lexical environment for a function f simply refers to the environment enclosing that function's definition in the source code.

Visit the following resources to learn more: