I recently attended a technical interview with a very huge tech giant company. The process was pleasant but unfortunately I could not pass through that interview.
This is one of the questions that I was asked in the interview that was a live coding question. I wrote the answer but it was not elegant. There were minor glitches that finally did not work in my favour.
In this video, I attempt to teach how to solve that in a proper way!
Event emitters are a part of the publish-subscribe pattern. Read more about it here: https://en.wikipedia.org/wiki/Publish...
The solution discussed in this video is uploaded here:
https://gist.github.com/ChaituKNag/3c...
Please subscribe to my channel for more such web developer tips and tutorials.
Sur cette page du site, vous pouvez voir la vidéo en ligne JavaScript simple event emitter implementation | Tutorial | durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur NagaKonada Devtips 30 août 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 239 fois et il a aimé 8 téléspectateurs. Bon visionnage!