fix: missing semi-colon (#37454)

This commit is contained in:
shrobbins
2019-10-21 17:50:51 -07:00
committed by Randell Dawson
parent 4a478b550f
commit a13bb1b96f

View File

@ -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.