Altimetrik interview question

Basic Javascript questions