๐ธ[[Environment]]
the reference to the lexical environment where a function was created.
JS โฉ concepts โฉ scope โฉ lexical environment โฉ [[Environment]]
All functions remember the lexical environment in which they were made.
every function has the hidden internal property named
[[Environment]]
, that keeps the reference to the Lexical Environment where the function was created.
๐ JS.info โฉ Lexical Environment
Last updated
Was this helpful?