Slalom Build interview question

Basic OOP and JavaScript programming knowledges