3 ms·
jshint is static checking. It would have caught your syntax errors. Even catches when you do something stupid like define a new function inside of a for loop. A
by MatthewPhillips 13y ago
jshint is static checking. It would have caught your syntax errors. Even catches when you do something stupid like define a new function inside of a for loop. As far as type checking, typically it's not needed and can be confined in functions that care about types, you just defensively cast to the type you need. Closure's also an option if you really make heavy use of types of your application.