mirror of
https://github.com/goldbergyoni/nodebestpractices.git
synced 2025-11-03 20:01:16 +08:00
typo
This commit is contained in:
@ -148,7 +148,7 @@ function doSomething() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
a semicolong is inserted automatically after the `return`. To avoid this, the curly braces should be right after it and not in a new line:
|
A semicolong is inserted automatically after the `return`. To avoid that, the opening curly brace should be right after it and not in a new line:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
function doSomething() {
|
function doSomething() {
|
||||||
|
|||||||
Reference in New Issue
Block a user