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 859fa9b commit fb09afcCopy full SHA for fb09afc
1-js/02-first-steps/02-structure/article.md
@@ -80,7 +80,7 @@ The difference is because JavaScript does not assume a semicolon before square b
80
Here's how the engine sees it:
81
82
```js run no-beautify
83
-alert("Hello")[1, 2].forEach(alert)
+alert("Hello")[1, 2].forEach(alert);
84
```
85
86
Looks weird, right? Such merging in this case is just wrong. We need to put a semicolon after `alert` for the code to work correctly.
0 commit comments