Tech Mahindra Interview Question

JavaScript advanced