does javascript es3 have reduce code example
Example: .reduce mdn
arr.reduce(callback( accumulator, currentValue[, index[, array]] )[, initialValue])
arr.reduce(callback( accumulator, currentValue[, index[, array]] )[, initialValue])