Look at that! No need to change the loop's condition. It just works!
Make sure to assemble var pokemon = ["Pikachu", "Charmander", "Meowth", "Eevee"]; in your code.
var pokemon = ["Pikachu", "Charmander", "Meowth", "Eevee"];