JavaScript - Introduction to For Loops - 11. Loops and arrays I - Typo in the explanation?


#1

This part:

4: The for loop runs until i < 4

But in fact the loop runs while i < 4

for (var i = 0; i < cities.length; i++)

I'm not a native english speaker, so maybe it's just me.
Well, that was all, thanks.


#2

Thanks for point this out. Moving this topic to the Platform category.