Things to avoid in JavaScript (the bad parts)

By

A list of things to avoid when writing JavaScript, like using new Object() over literals, == instead of ===, eval, with, and editing built-in prototypes.

~~~

JavaScript lets you do a few things it probably shouldn’t. Here’s my list of the parts of the language to avoid, what to use instead, and why.

~~~

Related posts about js: