Similar to the Array.prototype.reduce function, but for an iterable. See the documentation of the above function for more details. The first element will be used as the initial value.
Iterable of which to reduce the elements.
A reducer function.
Similar to the Array.prototype.reduce function, but for an iterable. See the documentation of the above function for more details.
The value to start from.
Similar to the Array.prototype.reduce function, but for an iterable. See the documentation of the above function for more details. The first element will be used as the initial value.