JavaScript Lint is a code checker that finds common mistakes in JavaScript code, or warns for potential mistakes or bad coding practices.
It is built on the Mozilla/Firefox JavaScript engine, so it will issue warnings that will follow closely with what will hold in real browser situations.