Merge pull request #144 from GeorgySerga/patch-1
Update 15-function-expressions-arrows
This commit is contained in:
commit
7c7e802085
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ Like this:
|
||||||
let sum = (a, b) => { // the figure bracket opens a multiline function
|
let sum = (a, b) => { // the figure bracket opens a multiline function
|
||||||
let result = a + b;
|
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
|
||||||
*/!*
|
*/!*
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue