I need some help with this lesson Loops and Array I, please. What's wrong with my code?


#1

var names = ["Spurgeon", "Withfield", "Wesley", "Jerônimo"];

for (var i = 0 ; i < names.length; i++) {
console.log("I want to be more like" + names[i]);
}


#2

Hi try to add a name in your array and the string in your console.log should be "I know someone called "


#3

You comment solved my problem. Thanks a lot :grinning: