DEV Community

Discussion on: ES6 - Higher-Order Functions

Collapse
 
skaytech profile image
skaytech • Edited

Hi Pentacular,

Thanks for reading the article. I believe I have translated the explanation on how to use the reduce function as closely as possible to the MSDN docs.

Reduce is one function that everyone has varying opinions. Your examples have definitely made the syntax shorter using ES6 shorthand techniques.

In my humble opinion, the term 'Simpler' is very relative. What maybe simple to you might not be to othrrs. Having said that, I always welcome other ways to do the same thing without attaching any tags to it 🙏.

Please continue to share your views and thanks once again for reading my article. Cheers!!