Infosys Interview Question

javascript basics