How is this wrong?


#1

var names = ["Yourfe", "Yoru foxy", "Pashku", "Altair", "Intern"];
for(var i = 0; i > name.length; i++) {
console.log("I know someone called " + names[i]);
}


#3

Hi inside your for loop you should put i less than name.length instead of i greater than names.length


#4

In your for loop you put i > name.length which will not occur thus your for loop never executes. You should change the condition to i < name.length