UQAM Interview Question

Tested my knowledge of javascript.