12. Loop and Arrays II


#1

<Below this line, add a link to the EXACT exercise that you are stuck at.
var names = ["James", "Kayla", "Chiedo", "Kelsey", "Patrick"];

for (i = 0; i > names.length; i ++) {
console.log ("I know someone called " +names[i]);
}>


Replace this line with your code.


#2


for (i = 0; i > names.length; i ++)

This loop will not run because i > names.length(0>5) is false.

make sense :slight_smile:


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.