diff --git a/content/roadmaps/106-javascript/content/109-javascript-functions/105-scope-and-function-stack/101-lexical-scoping.md b/content/roadmaps/106-javascript/content/109-javascript-functions/105-scope-and-function-stack/101-lexical-scoping.md index b9afbfa35..df348e03d 100644 --- a/content/roadmaps/106-javascript/content/109-javascript-functions/105-scope-and-function-stack/101-lexical-scoping.md +++ b/content/roadmaps/106-javascript/content/109-javascript-functions/105-scope-and-function-stack/101-lexical-scoping.md @@ -1 +1,8 @@ -# Lexical scoping \ No newline at end of file +# Lexical scoping + +Before one can make 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. + +Free Content +What is a lexical environment? - JavaScript - CodeGuage +Lexical scoping - JavaScript - MDN +Lexical Scope in JavaScript – What Exactly Is Scope in JS?