Reduce basics - Part 3 of Functional Programming in JavaScript