DEV Community

Discussion on: Stop using Array.map() everywhere 🥵

Collapse
 
danielvandenberg95 profile image
Daniël van den Berg

Reduce would be best for the first example.

Some comments have been hidden by the post's author - find out more