Infosys Interview Question

Javascript basics are touched down with some problems and some Usages