DEV Community

Discussion on: Javascript - forEach vs map method in Arrays

Collapse
 
robvirtuoso profile image
robvirtuoso

Nice! Array map is overused indeed. I see a lot of code using it even if it's not returning anything at all. Bad habit maybe.

Collapse
 
shikharsaxena98 profile image
Shikhar Saxena

Yep, that was my motivation of writing about it