๐ฐlexical scope
JavaScript's scope system is called "lexical scope"
JS โฉ concepts โฉ scope โฉ lexical scope
๐ฏ synonyms๏ผ "static scope"
JavaScript's scope is determined at compile time; the term for this kind of scope is "lexical scope". ("lexical" is associated with the lexing stage of compilation)
๐ compare๏ผ static vs. dynamic scoping
Last updated
Was this helpful?