Nested for loops in JS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Nested for loops in JS

Using if conditional and comparing two nested arrays and pushing the mutual elements into New empty array returning undefined

3rd Aug 2022, 12:04 PM
Ahmad Khan
Ahmad Khan - avatar
2 Answers
+ 2
How does the array looks like and anything you have tried so far ?
3rd Aug 2022, 12:16 PM
Abhay
Abhay - avatar
0
Please post your code, so we can see where you make mistake.
3rd Aug 2022, 12:39 PM
PanicS
PanicS - avatar