Domanda di colloquio di Exactera

Is JavaScript synchronous or asynchronous?

Risposta di colloquio

Anonimo

28 set 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.