HCLTech Interview Question

JavaScript Event handling