fix: missing semi-colon (#37454)
This commit is contained in:
committed by
Randell Dawson
parent
4a478b550f
commit
a13bb1b96f
@ -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.
|
||||
|
Reference in New Issue
Block a user