Altimetrik interview question

Basic questions on javascript and its concepts.