DEV Community

Discussion on: ES6 - Higher-Order Functions

Collapse
 
garretharp profile image
Garret

I personally prefer the way in which the article is written. Sure the word sum may sound nicer for this very specific case of array reduce, but you are unnecessarily making a function that does not need to be there.

Collapse
 
skaytech profile image
skaytech

Like I said, it's a personal preference..