Exercises to cover the basics of functional programming in JavaScript