collection to a value which is the accumulated result of running
each element in
iteratee, where each successive
invocation is supplied the return value of the previous. If
is not given, the first element of
collection is used as the initial
value. The iteratee is invoked with four arguments:
(accumulator, value, index|key, collection).
Many lodash methods are guarded to work as iteratees for methods like
The guarded methods are:
The collection to iterate over.
The function invoked per iteration.
The initial value.
Returns the accumulated value.