Thanks. The JS ecosystem provides multiple ways to solve a problem. My initial goal with this article is to describe only simple use cases of what these methods can be used for, which means I have to limit some topics I believe may over-complicate things. Anyway, I’ve updated the description in reduce() method because you are right, the statement was misleading. Appreciate your feedback.

Software Engineer sharing interesting tech topics

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store