Chapter 21
Ten Online Tools to Help You Write Better JavaScript
In This Chapter
Cleaning up with JSLint
Playing with JSFiddle
Making it pretty with JSbeautifier
Making your JavaScript files smaller
“Never underestimate the power of a simple tool.”
— Craig Bruce
JavaScript has more libraries, resources, and helpful tools for working with it than for any other programming language. This chapter introduces ten of the best resources for helping you write more and better JavaScript.
JSLint
JSLint, created by JavaScript super-genius Douglas Crockford, is a code checker that is designed to tell you where your code has problems — and not just the kind of problems that would generate errors.
JSLint, shown in Figure 21-1, will tell you about things that thousands of JavaScript programmers do all the time, but that are problematic for one reason or another. If your code passes JSLint’s tests, ...
Get Coding with JavaScript For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.