Merge pull request #202 from usernamehw/patch-1
Fix spaces around operator
This commit is contained in:
commit
d684a53f22
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