I got this programming question from an phone Interview (while online using shared Collabedit). Cannot test in real-time while writing function (no execute button). It just executes on their end, so I couldn't use console log to check out values, but I have a local web server running, so I could write and test on a locally running web page while talking.