Systango interview question

Node js question, Coding Scenario