Skip to content

Instantly share code, notes, and snippets.

@flipjs
Created December 29, 2014 00:34
Show Gist options
  • Save flipjs/8b263c3a6a6485bf0e07 to your computer and use it in GitHub Desktop.
Save flipjs/8b263c3a6a6485bf0e07 to your computer and use it in GitHub Desktop.
Advice on NOT using semicolons in Javascript
"If you choose to omit semicolons where possible, my advice is to insert them immediately before the opening parenthesis or square bracket in any statement that begins with one of those tokens, or any which begins with one of the arithmetic operator tokens /, +, or - if you should happen to write such a statement." - Michael John Clement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment