Loops Not Working


#1

Hello,
My code is : var myPlaces = ["Thailand", "Greece", "Egypt"];
var freindPlaces = ["Thailand", "Greece", "USA"];
Error: Did you set the variable friendPlaces equal to an array??
Did you put three items in the friendPlaces array?
What is wrong?


#2

Quick guess: freindPlaces should be friendPlaces ("i" and "e" are switched)


#3

Thank you very much
lakksdkwjk(codecademy won't let me reply)


#4

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