typo "brackets" to "parentheses"
This commit is contained in:
parent
e774c7c938
commit
89cdf0adeb
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ The problem is that JavaScript treats `{...}` in the main code flow (not inside
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
To show JavaScript that it's not a code block, we can wrap the whole assignment in brackets `(...)`:
|
To show JavaScript that it's not a code block, we can wrap the whole assignment in parentheses `(...)`:
|
||||||
|
|
||||||
```js run
|
```js run
|
||||||
let title, width, height;
|
let title, width, height;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue