Domanda di colloquio di Klarna

**Given a small node.js project: does the function have concurrency issues?

Risposta di colloquio

Anonimo

30 apr 2023

Node.js is single threaded and relies on an Event Loop. Callbacks will be put in the event loop and executed later, so it is possible the data they are accessing could have been modified.

1