Working through Chapter 1 of Functional Javascript by Micheal Fogus.