title: How does Node.js execute two different scripts?
body: <p>I can't imagine how can node.js in one single thread execute two scripts with different code simultaneously. For example I have two different scripts A and B. What will  happen  if almost simultaneously several clients request A and B. For PHP it is understandable, for example, will be created five threads to handle A and five threads to handle B, and for  each request script executes again. But what happens in Node.js? Thank you!     </p>