javascript style guide
if (test) return false;
if (test) {
return false;
}
- Use camelCase when naming objects, functions, and instances.
- Use PascalCase when naming constructors or classes.
- Use a leading underscore _ when naming private properties.
https://github.com/jscs-dev/node-jscs http://jshint.com/docs/options/ https://github.com/airbnb/javascript/blob/master/README.md