How is this wrong?


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


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


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