Merge pull request #144 from GeorgySerga/patch-1

Update 15-function-expressions-arrows
This commit is contained in:
Ilya Kantor 2017-08-25 23:13:48 +02:00 committed by GitHub
commit 7c7e802085

View file

@ -450,7 +450,7 @@ Like this:
let sum = (a, b) => { // the figure bracket opens a multiline function
let result = a + b;
*!*
return result; // if we use figure brackets, must use return
return result; // if we use figure brackets, use return to get results
*/!*
};