ccumulator, value) -&gt; result</code></td>
<td>Yes</td>
<td>A function that takes an accumulator and value parameter and returns a new accumulator value</td>
</tr>
<tr>
<td><code>accumulator</code></td>
<td><code>any</code></td>
<td>Yes</td>
<td>The starting value for the accumulator</td>
</tr>
<tr>
<td><code>stream</code></td>
<td><code>Stream</code></td>
<td>Yes</td>
<td>Stream containing the values</td>
</tr>
<tr>
<td><strong>returns</strong></td>
<td><code>Stream</code></td>
<td></td>
<td>Returns a new