minor fixes
This commit is contained in:
parent
859fa9bedd
commit
fb09afc0fd
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ The difference is because JavaScript does not assume a semicolon before square b
|
||||||
Here's how the engine sees it:
|
Here's how the engine sees it:
|
||||||
|
|
||||||
```js run no-beautify
|
```js run no-beautify
|
||||||
alert("Hello")[1, 2].forEach(alert)
|
alert("Hello")[1, 2].forEach(alert);
|
||||||
```
|
```
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue