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 will hurt your feelings.

           

     Assume consolealert, ...      Tolerate bitwise operators      Tolerate misordered definitions
     Assume a browser      Tolerate continue      Tolerate unused parameters
     Assume Node.js      Tolerate debugger statements      Tolerate missing 'use strict' pragma
     Assume Rhino      Tolerate == and !=      Tolerate inefficient subscripting
     Assume a Yahoo Widget      Tolerate ES5 syntax      Tolerate many var statements per function
     Assume Windows      Tolerate eval      Tolerate messy white space
         Tolerate unfiltered for in    
     Stop on first error      Tolerate uncapitalized constructors      Tolerate CSS workarounds
         Tolerate dangling _ in identifiers      Tolerate HTML case
     Safe Subset      Tolerate ++ and --      Tolerate HTML event handlers
     Verify ADsafe      Tolerate . and [^...] in /RegExp/      Tolerate HTML fragments





 

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