We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2658425 + 807a394 commit 6ca78e8Copy full SHA for 6ca78e8
1-js/5-functions-closures/2-closures/article.md
@@ -119,18 +119,18 @@ sayHi.[[Scope]] = window
119
```js run no-beautify
120
var phrase = 'Привет';
121
122
-function say(name) {
+function sayHi(name) {
123
alert(phrase + ', ' + name);
124
}
125
126
*!*
127
-say('Вася'); // Привет, Вася (*)
+sayHi('Вася'); // Привет, Вася (*)
128
*/!*
129
130
phrase = 'Пока';
131
132
133
-say('Вася'); // Пока, Вася (**)
+sayHi('Вася'); // Пока, Вася (**)
134
135
```
136
0 commit comments