Skip to content

Instantly share code, notes, and snippets.

View codestyle.md

Code Style

  • Space indentation (2 spaces)
  • Double-quotes
  • Semicolon
  • Strict mode
  • No trailing whitespace
  • Variables at the top of the scope
  • Multiple variable statements
  • Space after keywords and between arguments and operators