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.

Want me to talk about your product? You can sponsor this site.

~~~

Related posts about js: