commit
b310b741b0
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ We can also declare multiple variables in one line:
|
|||
let user = 'John', age = 25, message = 'Hello';
|
||||
```
|
||||
|
||||
That might seem shorter, but we don't recommended it. For the sake of better readability, please use a single line per variable.
|
||||
That might seem shorter, but we don't recommend it. For the sake of better readability, please use a single line per variable.
|
||||
|
||||
The multiline variant is a bit longer, but easier to read:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue