Javascript best practices

Semicolons

  • Use semicolons. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#automatic_semicolon_insertion

    Include example