Pergunta de entrevista da empresa Qubitech Solutions

How does JavaScript handle asynchronous operations behind the scenes (e.g., Promises, async/await)?