Implement a pub-sub / event emitter from scratch · InterviewLane