Skip to content

Four Things to Avoid in JavaScript

Common code issues when writing JavaScript. Things you should never have in your JavaScript code.

June 7, 2020

Things you should never have in your JavaScript code:

  1. Statements starting with [.
  2. Statements starting with (.
  3. Newlines directly after returns.
  4. Semicolons - ;.

For more info see Semicolons in JavaScript, what are they good for?.


Dylan Vann
Dylan Vann
Software developer.

Subscribed!
You should receive an email with a confirmation link!
Or follow me on X for more stuff like this.