DEV Community

Discussion on: 4 main differences between forEach() and map() you should know

Collapse
 
mariewie profile image
MarieWie

Thank you for the very handy article and the great explanation. I am just learning about both these methods for the first time, and while I assumed there was at least one difference (why else have two methods), the tutorial I am following and MDN unfortunately were both rather vague on the matter. So this was a great explanation that came at exactly the right time. Thanks for writing it.

Collapse
 
ibrahima92 profile image
Ibrahima Ndaw

Your comment means a lot to me. I'm glad you find value on it. And thanks again for reading it.