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.
In questa pagina del sito puoi guardare il video online JavaScript simple event emitter implementation | Tutorial | della durata di ore minuti seconda in buona qualità , che l'utente ha caricato NagaKonada Devtips 30 agosto 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 239 volte e gli è piaciuto 8 spettatori. Buona visione!