Recursively recombine values of a list.
1 | reduce(xs, f, init)
|
xs |
list. The list to reduce. |
f |
function. The reducing function to apply, taking two values and producing one value. |
init |
object. An optional initialization value to start reducing. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.