Skip to content

Commit 3a24b0a

Browse files
authored
Merge pull request #1006 from Violet-Bora-Lee/patch-2
specifying the property inside Environment Record
2 parents d8cc5c4 + 397ee9a commit 3a24b0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/03-closure/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ So, during the function call we have two Lexical Environments: the inner one (fo
140140
141141
- The inner Lexical Environment corresponds to the current execution of `say`.
142142
143-
It has a single variable: `name`, the function argument. We called `say("John")`, so the value of `name` is `"John"`.
143+
It has a single property: `name`, the function argument. We called `say("John")`, so the value of `name` is `"John"`.
144144
- The outer Lexical Environment is the global Lexical Environment.
145145
146146
It has `phrase` and the function itself.

0 commit comments

Comments
 (0)