DEV Community

Discussion on: Why so much ".forEach() VS .map()" posts in javascript?

Collapse
 
gmartigny profile image
Guillaume Martigny

People are not comfortable with functional programming I think. Both functions browse the array so new devs use the two indistinctively. You appear to grasp the difference between the two so good for you. 😀