Implement Array.prototype.myReduce. Array.prototype.myReduce is a way of "reducing" elements in an array by calling a "reducer" callback function on each element of the array in order, passing in the return value from the calculation on the preceding element. A single value is the final result of running the reducer across all array elements.