Pergunta de entrevista da empresa Exactera

Is JavaScript synchronous or asynchronous?

Resposta da entrevista

Sigiloso

28 de set. de 2025

By default JavaScript is synchronous. However, it supports asynchronous operations using mechanisms like setTimeout, promises, and async/await, all of which rely on the event loop.