DEV Community

Discussion on: Why you should give Array.prototype.reduce() a chance too?🧐

Collapse
 
kokaneka profile image
kapeel kokane • Edited

Yes correct. I brought this up to highlight the other sentiment which is: 'use map/forEach all the time', even in cases where reduce could have been your best bet.
This is another awesome video on the same topic:

Collapse
 
kigiri profile image
Clément

Yes well, that's jake haha