Skip to content

Commit fb09afc

Browse files
committed
minor fixes
1 parent 859fa9b commit fb09afc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/02-structure/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ The difference is because JavaScript does not assume a semicolon before square b
8080
Here's how the engine sees it:
8181
8282
```js run no-beautify
83-
alert("Hello")[1, 2].forEach(alert)
83+
alert("Hello")[1, 2].forEach(alert);
8484
```
8585
8686
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

Comments
 (0)