|
|
|
|
|
by bcrescimanno
5244 days ago
|
|
The problem is that JSLint goes further than static analysis and suggests what could be considered simply "stylistic" changes to match the way Crockford thinks javascript should be written. For example, doing comparisons (x == null) or (x != null) is a well known shortcut for checking vs null or undefined. There's nothing inherently "bad" about using that shortcut. |
|
(of course, there's really no reason to be using JSLint over JSHint anyway)