Skip to content

Commit

Permalink
fix: missing semi-colon (#37454)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrobbins authored and RandellDawson committed Oct 22, 2019
1 parent 4a478b5 commit a13bb1b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -29,7 +29,7 @@ const myFunc = () => {
When there is no function body, and only a return value, arrow function syntax allows you to omit the keyword <code>return</code> as well as the brackets surrounding the code. This helps simplify smaller functions into one-line statements:

```js
const myFunc = () => "value"
const myFunc = () => "value";
```

This code will still return <code>value</code> by default.
Expand Down

0 comments on commit a13bb1b

Please sign in to comment.