Cognizant interview question

JavaScript asynchronous functions, array methods, Classes in JS