Solution 1 - tested with Jasmine

A Pen by BretCameron