Alan interview question

how does node js works