Merge pull request #202 from usernamehw/patch-1

Fix spaces around operator
This commit is contained in:
Ilya Kantor 2017-09-27 00:49:30 +03:00 committed by GitHub
commit d684a53f22

View file

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