Cadence Education interview question

Basic understanding of node js.