This commit is contained in:
idori
2017-10-14 23:28:15 +03:00
parent 09e2f8dd05
commit cdbcfa9245

View File

@ -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() {