Skip to content

Commit f08e4ce

Browse files
authored
Merge pull request iliakan#399 from sirozha/patch-1
Update article.md
2 parents 1a04b76 + f906242 commit f08e4ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/10-es-modern/4-es-function/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ let sum = (a,b) => a + b;
251251
*/!*
252252

253253
// аналог с function
254-
// let inc = function(a, b) { return a + b; };
254+
// let sum = function(a, b) { return a + b; };
255255

256256
alert( sum(1, 2) ); // 3
257257
```

0 commit comments

Comments
 (0)