The 10 Most Common Mistakes JavaScript Developers Make

Today, JavaScript is at the core of virtually all modern web applications. The past several years in particular have witnessed the proliferation of a wide array of powerful JavaScript-based libraries and frameworks for single page application development, graphics and animation, and even server-side JavaScript platforms.

JavaScript has truly become ubiquitous in the world of web app development and is therefore an increasingly important skill to master.

Mistake #1: Incorrect references to this

Mistake #2: Thinking there is block-level scope

Mistake #3: Creating memory leaks

Mistake #4: Confusion about equality

Mistake #5: Inefficient DOM manipulation

Mistake #6: Incorrect use of function definitions inside for loops

Mistake #7: Failure to properly leverage prototypal inheritance

Mistake #8: Creating incorrect references to instance methods

Mistake #9: Providing a string as the first argument to setTimeout or setInterval

Mistake #10: Failure to use “strict mode”

Read more…

Happy Scripting 🙂


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s