Day 11: Higher Order Functions Part 2
Lesson 5: reduceRight
After the length of the
reduce() lesson this is going to seem comically short.
reduceRight() does the same thing as
reduce() but it starts at the end of the array and works backwards.
It's the same as calling
reverse() on an array first (which, you guessed it, reverses an array) and then