For loops


#1

https://www.codecademy.com/courses/learn-javascript/lessons/loops/exercises/for-loops-iii?action=lesson_resume&link_content_target=interstitial_lesson

I can't get the two lists to match. It says I completed the lesson but it won't give me the output. It will only give me an output if I put i for both lists in the if statement. the instructions say to use if (myPlaces[i]) === friendPlaces[j]) but I cant get it to match.

Help


#2

Nevermind, figured it out


#3

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