title: Can node.js code result in race conditions?
body: <p>From what I read, race conditions occur when different threads try to change a shared variable, which can result in a value that's not possible with any serial order of execution of those threads.</p>
  
  <p>But code in node.js runs in a single thread, so, does that mean code written in node.js is free of race conditions?</p>