12. Loops and arrays II - Please help


#1

Hello,
I need a helping hand. I do not understand what’s wrong.
Someone to help me? Thank you :slight_smile:


#2

Please post a link to this exercise, as well as your raw code (not a picture). Thanks.

This code worked in the sandbox…

var names = ["Biker","Athea","Belette","Furet","Marmotte"];

for (var i = 0; i < names.length; i++) {
  console.log("I know someone called" + " " + names[i]);
}
 > 
 I know someone called Biker
 I know someone called Athea
 I know someone called Belette
 I know someone called Furet
 I know someone called Marmotte
=> undefined
 >

#3

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