Skip to content

Commit b1607f5

Browse files
authored
typo
1 parent 63ca152 commit b1607f5

File tree

1 file changed

+1
-1
lines changed
  • 1-js/02-first-steps/17-arrow-functions-basics

1 file changed

+1
-1
lines changed

1-js/02-first-steps/17-arrow-functions-basics/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ They are very convenient for simple one-line actions, when we're just too lazy t
7878
7979
The arrow functions that we've seen so far were very simple. They took arguments from the left of `=>`, evaluated and returned the right-side expression with them.
8080

81-
Sometimes we need a more complex function, with multiple expressions and statements. In that case, but we can enclose them in curly braces. The major difference is that curly braces require a `return` within them to return a value (just like a regular function does).
81+
Sometimes we need a more complex function, with multiple expressions and statements. In that case, we can enclose them in curly braces. The major difference is that curly braces require a `return` within them to return a value (just like a regular function does).
8282

8383
Like this:
8484

0 commit comments

Comments
 (0)