Best practices

Use these best practices when designing and writing your custom JavaScript code.