JSLint

The JavaScript Code Quality Tool

Read the instructions.  Set the options.  Enjoy The Good Parts.

       

Paste your program into the text box above and click a   button.
WARNING: JSLint can help you improve the quality of your programs.


       

     Strict white space      Assume consolealert, ...      Tolerate debugger statements
     Allow one var statement per function      Assume a browser      Tolerate eval
     Disallow undefined variables      Assume Node.js      Tolerate unfiltered for in
     Disallow dangling _ in identifiers      Assume Rhino      Tolerate inefficient subscripting
     Disallow . and [^...] in /RegExp/      Assume a Yahoo Widget      Tolerate continue
     Disallow ++ and --      Assume Windows      Tolerate unused parameters
     Disallow bitwise operators      Stop on first error      Tolerate ES5 syntax
     Tolerate CSS workarounds
     Tolerate HTML case
     Require Initial Caps for constructors      Safe Subset      Tolerate HTML event handlers
     Require 'use strict';      Verify ADsafe      Tolerate HTML fragments






 

Copyright 2002 Douglas Crockford. All Rights Reserved Wrrrldwide and Beyond!
Code Conventions for the JavaScript Programming Language.
Join the JSLint Group.