Skip to content

Commit f18aa36

Browse files
committed
minor
1 parent d6e45ea commit f18aa36

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ During the function call we have two Lexical Environments: the inner one (for th
138138
- 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"`.
139139
- The outer Lexical Environment is the global Lexical Environment.
140140

141-
The inner Lexical Environment one has the `outer` reference to the outer one.
141+
The inner Lexical Environment has the `outer` reference to the outer one.
142142

143143
**When a code wants to access a variable -- it is first searched in the inner Lexical Environment, then in the outer one, then the more outer one and so on until the end of the chain.**
144144

0 commit comments

Comments
 (0)