BFE.dev
buy us
a coffee
Coding- problems
Answer- questions
Design- systems
Enjoy- quizzes
TypeScript- puzzles
Discussanything
buy us
a coffee

15. `Array.prototype.forEach()` vs `Array.prototype.map()`

JavaScript
Is this helpful ?
Share

An easy question, right?

It really depends on what you want to achieve.

In case you are not sure, read MDN about forEach() and map()

Source for this  
prevnext
Discuss

relax!