Accenture interview question

Mostly JavaScript related questions.