Frage im Vorstellungsgespräch bei Klarna

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

Antwort im Vorstellungsgespräch

Anonym

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