For loops inside loops BUG


I am at section 5 of the Loops lesson and I wrote the code correctly to a desired output in the console, yet the 3rd part of the exercise diaplays this error:
" Did you a for loop that loops over the myPlaces array?"

var myPlaces = ['New Zealand','Iceland','Japan'];

var friendPlaces = ['Cape Town','New Zealand','Russia'];

for (var i=0; i<myPlaces.length; i++) 
  {console.log (myPlaces[i]);}


console.log (myPlaces[i])

remove the space before (


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