Fix spaces around operator
This commit is contained in:
parent
f19274156d
commit
6085d981df
1 changed files with 2 additions and 2 deletions
|
@ -403,9 +403,9 @@ If we have only one argument, then parentheses can be omitted, making that even
|
|||
|
||||
```js run
|
||||
// same as
|
||||
// let double = function(n) { return n*2 }
|
||||
// let double = function(n) { return n * 2 }
|
||||
*!*
|
||||
let double = n => n*2;
|
||||
let double = n => n * 2;
|
||||
*/!*
|
||||
|
||||
alert( double(3) ); // 6
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue