ReduceOnly.js Solving JavaScript problems using only Array.reduce. MDN docs arr.reduce(callback( accumulator, currentValue, [, index[, array]] )[, initialValue])