diff --git a/1-js/06-advanced-functions/03-closure/article.md b/1-js/06-advanced-functions/03-closure/article.md index 3babdad4..6f3eabb4 100644 --- a/1-js/06-advanced-functions/03-closure/article.md +++ b/1-js/06-advanced-functions/03-closure/article.md @@ -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"