Smartness interview question

How does Node.js handle async code internally?