Pregunta de entrevista

Entrevista para Senior Javascript Developer

-Buenos Aires


How does Node handle multiple threads?


Respuesta de la entrevista

1 respuesta


This is a tricky one. Javascript is a single-threaded language. Meaning it can only do one thing at a time. However, we do have the event loop, callback queue, and the call stack, which we can use to do our async work. In Node we also have the ChildProcess module which can spawn other processes.

Anónimo en

Agregar respuestas o comentarios

Para comentar esto, Inicia sesión o regístrate.