HCLTech Interview Question

Question based on JavaScript and framework