DEV Community

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

Collapse
 
sebbdk profile image
Sebastian Vargr

Did not read the article, but the title reminded me of code I found were people used map instead of foreach.

Which whenever it happens makes me want to headbut my screen in excited anger.

I’ll read the article now, but my bruised forehead wants to thank you in advance.

Collapse
 
ibrahima92 profile image
Ibrahima Ndaw

Thank you so much. Hopefully, you'll find value on it