Implement pluck, which takes an array of objects and a property name, and returns an array containing the named property of each object.
For example:
pluck([{a:1}, {a:2}], 'a') // -> [1,2]
The test expects you to provide a Calculator object with the following methods:
Calculator.add()
Calculator.subtract()
Calculator.multiply()
Calculator.divide()