JSLint error: Move all ‘var’ declarations to the top of the function
Update June, 2017: Subject to support (e.g. if you’re not running JavaScript in Internet Explorer 10 or below), you should look into using let instead of var. For example: for(let i=0; …; i++) There’s no way I’m going to put var i; from a for(var i=0; …; i++) at the top of my functions. Especially … Read more