Flipkart Interview Question

Implement an event emitter listener in javascript.