mirror of
https://github.com/goldbergyoni/nodebestpractices.git
synced 2025-11-02 11:11:41 +08:00
Fix incorrect syntax
This commit is contained in:
@ -284,7 +284,7 @@
|
||||
### Code Example ###
|
||||
```javascript
|
||||
// for class name we use UpperCamelCase
|
||||
class SomeClassExample {
|
||||
class SomeClassExample {}
|
||||
|
||||
// for const names we use the const keyword and lowerCamelCase
|
||||
const config = {
|
||||
@ -293,11 +293,7 @@
|
||||
|
||||
// for variables and functions names we use lowerCamelCase
|
||||
let someVariableExample = 'value';
|
||||
function doSomething() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
function doSomething() {}
|
||||
```
|
||||
|
||||
<br/><br/>
|
||||
|
||||
Reference in New Issue
Block a user