Skip to content

Commit 6e8f117

Browse files
author
jorgesmash
authored
Update: 15-function-expressions-arrows/article.md
This code snippet should be shown with the semicolon: // Function Expression let sum = function(a, b) { return a + b; }
1 parent 7ef8f49 commit 6e8f117

File tree

1 file changed

+1
-1
lines changed
  • 1-js/02-first-steps/15-function-expressions-arrows

1 file changed

+1
-1
lines changed

1-js/02-first-steps/15-function-expressions-arrows/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ First, the syntax: how to see what is what in the code.
195195
// Function Expression
196196
let sum = function(a, b) {
197197
return a + b;
198-
}
198+
};
199199
```
200200

201201
The more subtle difference is *when* a function is created by JavaScript engine.

0 commit comments

Comments
 (0)