Reduce array or object by appling function
For each element, provided function is called with accumulator, elements value, element index/key and original container.
Reduce array or object by appling function
For each element, provided function is called with accumulator, elements value, element index/key and original container.