File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ while (keys.length) {
167
167
168
168
[ crockfordconvention ] : http://javascript.crockford.com/code.html
169
169
170
- ### Naming Conventions
170
+ ## Naming Conventions
171
171
172
172
### Use lowerCamelCase for variables, properties and function names
173
173
@@ -205,7 +205,7 @@ function bank_Account() {
205
205
}
206
206
```
207
207
208
- ## Use UPPERCASE for Constants
208
+ ### Use UPPERCASE for Constants
209
209
210
210
Constants should be declared as regular variables or static class properties,
211
211
using all uppercase letters.
446
446
.exec (function (err , user ) {
447
447
return true ;
448
448
});
449
- ````
449
+ ```
450
450
451
451
* Wrong:*
452
452
@@ -473,7 +473,7 @@ User.findOne({ name: 'foo' }).populate('bar')
473
473
.exec (function (err , user ) {
474
474
return true ;
475
475
});
476
- ` ` ` `
476
+ ```
477
477
478
478
## Comments
479
479
You can’t perform that action at this time.
0 commit comments