fixes
This commit is contained in:
parent
14a882fee0
commit
c56693bca8
3 changed files with 9 additions and 8 deletions
|
@ -49,7 +49,7 @@ while (i) { // when i becomes 0, the condition becomes falsy, and the loop stops
|
|||
}
|
||||
```
|
||||
|
||||
````smart header="Brackes are not required for a single-line body"
|
||||
````smart header="Brackets are not required for a single-line body"
|
||||
If the loop body has a single statement, we can omit the brackets `{…}`:
|
||||
|
||||
```js run
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue