DEV Community

Discussion on: JavaScript Arrays: .forEach - The Functional for of loop

Collapse
 
cedpoilly profile image
Cedric

Thanks for this insightful explanation @mikegeyser !

It's true that if I'm using .forEach quite often, it's worth considering using more "specialised" methods such as .reduce.

Which is a great transition to announce the topic for the next article of this series: Array.prototype.reduce!

Stay tuned! ✌