Skip to end of metadata
Go to start of metadata

Content

JavaScript Compressors

Closure Compiler
A tool for making JavaScript download and run faster. It is a true compiler for JavaScript. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.

There are others such as JS Minifier, ShrinkSafe and YUI Compressor, but Google's Closure Compiler is the best. Trust us... or figure it out for yourself.

JavaScript Syntax Checkers

JSLint
A JavaScript syntax checker and validator.

JavaScript Profiling and Debugging Tools

Firebug Firefox Add-on
Includes a JavaScript profiler and several incredibly useful features for JavaScript debugging. How did we ever get by without Firebug?

Browser Memory Leak Analysis Tools

Drip (a memory leak detector for Internet Explorer)
Drip can catch the most common causes of memory leaks in Internet Explorer to help you remove them from your code.

IE Sieve - Memory Leak detector for Internet Explorer
'sIEve' is a project to get rid of memory leaks due to some limitations of the garbage collector in Internet Explorer. Executing AJAX kind of applications (like Cordys Explorer) will stress the browser heavily. Internet Explorer is not very strong in Memory Management. With other words; It is very easy to introduce serious memory leaks in Internet Explorer by executing JavaScript? and DHTML manipulation. 'sIEve' is and extended version of 'Drip'

Related Articles

Unknown macro: {pop-layout}
Unknown macro: {portlet-a}

In JavaScript, you can use console.log('msg') to send output to the FireBug console in FireFox. It's a handy alternative to using JavaScript alerts for debugging!