Merge pull request #475 from k-yang/patch-1
Fixed typo in function name
This commit is contained in:
commit
ae7a774d3a
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ The execution flow of the code above:
|
|||
|
||||
1. The global Lexical Environment has `name: "John"`.
|
||||
2. At the line `(*)` the global variable is changed, now it has `name: "Pete"`.
|
||||
3. When the function `say()`, is executed and takes `name` from outside. Here that's from the global Lexical Environment where it's already `"Pete"`.
|
||||
3. When the function `sayHi()`, is executed and takes `name` from outside. Here that's from the global Lexical Environment where it's already `"Pete"`.
|
||||
|
||||
|
||||
```smart header="One call -- one Lexical Environment"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue