Added description and resources to Lexical Scoping - JavaScript Roadmap (#1688)
* Added description and resources * Updated the link's href * Added more linkspull/1691/head
parent
5ac971878f
commit
e871dc063d
1 changed files with 8 additions and 1 deletions
@ -1 +1,8 @@ |
||||
# Lexical scoping |
||||
# 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. |
||||
|
||||
<ResourceGroupTitle>Free Content</ResourceGroupTitle> |
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.codeguage.com/courses/js/functions-closures#What_is_a_lexical_environment'>What is a lexical environment? - JavaScript - CodeGuage</BadgeLink> |
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures#lexical_scoping'>Lexical scoping - JavaScript - MDN</BadgeLink> |
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.freecodecamp.org/news/javascript-lexical-scope-tutorial/'>Lexical Scope in JavaScript – What Exactly Is Scope in JS?</BadgeLink> |
||||
|
Loading…
Reference in new issue