Q. What is the difference between map() and forEach()?

मानचित्र() और forEach() के बीच क्या अंतर है?

A
map() modifies the array, forEach() does not
B
forEach() returns a new array, map() does not
C
map() returns a new array, forEach() does not
D
forEach() can only be used on objects

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment