No need to declare `i` outside the loop. Just `for (var i = 0...`