Best Practices

Declare Objects and Arrays with const

Use Parameter Defaults

camelCase Variable Names

Use Asynchronous methods when possible

Initialize Variables

Prefer Destructuring

JavaScript : Standards
Line Length 100 Max

Unless you have a very long string, limit your code line length to 100 characters. This makes your code more readable and you are able to have multiple files opened at a time and still be able to see the full line of code.

Please Login or Register to comment