Zensar Technologies interview question

How to raise event in node js