Luxoft interview question

Proper use of closure, javascript objects, scopes, prototype