Array.prototype.reduce() made Simple
To Reduce or not to Reduce ... ๐ค
Reduce is an accumulator. We can think of this higher order function as a snowball, which "reduces" all the elements of an array down to a single value.
It takes two arguments, the first being a function itself and t...
jimboslice.hashnode.dev3 min read