Can someone explain why this Node.js code fails?

This post does not have any comments yet