JS Iterators - Mini Linter project - Step 4 - code is working but nothing appear in the console after the for loop!?

My code is working well, but nothing logged after the for loop. Also there is no error massage. When I comment or remove the for loop, the rest of the code working properly. but when I uncomment it or rewrite it, the code after it disappear from the console.
I keep reviewing the syntax and trying the code in different console but still facing the same issue

can someone review it and told me what is wrong here!!!

Line 21 doesn’t look right. There is a return but no function to return from. If you want that loop to run completely through, don’t use return.

1 Like

Got it, Thanks :ok_hand:

1 Like

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