Sangeetha Mobile interview question

Basic javascript questions