|
JSLint
A Static Analysis Tool for ECMAScript/JavaScript |
|
Prof. David Bernstein
|
| Computer Science Department |
| bernstdh@jmu.edu |
for, function,
if, switch, try
and while must be followed by a semicolon
/*jslint */
directive (note that there is no space before the j)