This commit is contained in:
Ilya Kantor 2017-05-10 16:41:49 +03:00
parent 14a882fee0
commit c56693bca8
3 changed files with 9 additions and 8 deletions

View file

@ -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