DEV Community

Discussion on: A JavaScript interview question asked at Google

Collapse
 
hannadrehman profile image
hannad rehman

Holy shit. I ask the same question in my interviews. Its create a simple EventBus with fire,listen and remove methods 😅