Pregunta de entrevista de Tata Consultancy Services

How would you handle asynchronous programming in JavaScript?