Write your own MyEventEmitter class with the same interface as in Node.js. Required methods are:
- on
- once
- off
- emit
- prependListener
- prependOnceListener
- removeAllListeners
- listenerCount
Read the guideline before start
Write your own MyEventEmitter class with the same interface as in Node.js. Required methods are:
Read the guideline before start