2 ms·
use strict? jshint / jslint your code? This doesn't justify playing a guessing game and skipping semicolons just because you think you know all the rules about
by raverbashing 13y ago
use strict? jshint / jslint your code?
This doesn't justify playing a guessing game and skipping semicolons just because you think you know all the rules about not using them.
- Tloewald 13y agojslint won't stop it if there's a variable (c in this case) in the outer scope -- it's perfectly fine code as far as jslint is concerned. And jslint encourages that declaration style (actually encourages is too weak a word).