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.
Auf dieser Seite können Sie das Online-Video JavaScript simple event emitter implementation | Tutorial | mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer NagaKonada Devtips 30 August 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 239 Mal angesehen und es wurde von 8 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!