The Superpowers of Array.reduce() Method

The Superpowers of Array.reduce() Method

ECMAScript 5 introduced many awesome features in 2009, the majority of them being array methods like isArray, forEach, map, filter, every, some. But let’s talk about my favorite one: reduce.