logo

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
Do not use Global Variables.

Global variables can be overwritten by other scripts many times on accident. Always declare variables with "let" or "const".

Please Login or Register to comment