specifying the property inside Environment Record
This commit is contained in:
parent
df7800adda
commit
397ee9ab48
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ So, during the function call we have two Lexical Environments: the inner one (fo
|
||||||
|
|
||||||
- The inner Lexical Environment corresponds to the current execution of `say`.
|
- The inner Lexical Environment corresponds to the current execution of `say`.
|
||||||
|
|
||||||
It has a single variable: `name`, the function argument. We called `say("John")`, so the value of `name` is `"John"`.
|
It has a single property: `name`, the function argument. We called `say("John")`, so the value of `name` is `"John"`.
|
||||||
- The outer Lexical Environment is the global Lexical Environment.
|
- The outer Lexical Environment is the global Lexical Environment.
|
||||||
|
|
||||||
It has `phrase` and the function itself.
|
It has `phrase` and the function itself.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue