Klarna interview question

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

Interview Answer

Anonymous

Apr 30, 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