One Site All Your JavaScript Files Have To Go Through

Don’t you hate JavaScript sometimes? You may miss a comma or a semicolon somewhere, and the error message that you get is something like “‘obj’ is not defined”, and you’re staring at the code and you know that that freakin obj is there, so how come it keeps insisting that it’s not there?

Enter JSLint. This is very useful JavaScript lint utility, written by Douglas Crockford–one of the most well-known personalities in the JavaScript world. This cool utility is very accurate–most of the time it can pinpoint exactly where the mistake is. Other than that, it also points out the best practices of JavaScript coding. Since I’ve found this utility, I never commit my JavaScript files before running them through it.

Check it out here: http://www.jslint.com/

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s