Infosys Interview Question

Asked about JavaScript, mostly on java