Skip to content

Commit c574391

Browse files
authored
Update article.md
Added semicolon
1 parent a829155 commit c574391

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ There's another very simple and concise syntax for creating functions, that's of
55
It's called "arrow functions", because it looks like this:
66

77
```js
8-
let func = (arg1, arg2, ..., argN) => expression
8+
let func = (arg1, arg2, ..., argN) => expression;
99
```
1010

11-
...This creates a function `func` that accepts arguments `arg1..argN`, then evaluates the `expression` on the right side with their use and returns its result.
11+
This creates a function `func` that accepts arguments `arg1..argN`, then evaluates the `expression` on the right side with their use and returns its result.
1212

1313
In other words, it's the shorter version of:
1414

0 commit comments

Comments
 (0)