We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a60c4a commit e241163Copy full SHA for e241163
1-js/06-advanced-functions/04-var/article.md
@@ -234,9 +234,9 @@ IIFE выглядит следующим образом:
234
```js run
235
(function() {
236
237
- var message = "Hello";
+ var message = "Привет";
238
239
- alert(message); // Hello
+ alert(message); // Привет
240
241
})();
242
```
@@ -249,9 +249,9 @@ Function Expression обёрнуто в скобки `(function {...})`, пот
249
// Пробуем объявить и сразу же вызвать функцию
250
function() { // <-- SyntaxError: Function statements require a function name
251
252
253
254
255
256
}();
257
0 commit comments