Q. EventEmitter class’s simple interface, which basically encompass two methods . . . . . . . . . can therefore be used to trigger custom events and listen to events as well, both synchronously or asynchronously. (Solved)
1. exit()
2. superscript()
3. subscribe()
4. emit()
- c. subscribe()