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
Software developer living in Toronto 🇨🇦 Thailand 🇹🇭.
Focused on Node | GraphQL | React | React Native.

Subscribed!
You should receive an email with a confirmation link!
Join my Newsletter
I'll send you an email when I have something interesting to show.
Or follow me on Twitter for more stuff like this.

Mentions

Tweet about this post and it will show here.

Loading...
Loading...