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.
Nesta página do site você pode assistir ao vídeo on-line JavaScript simple event emitter implementation | Tutorial | duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário NagaKonada Devtips 30 Agosto 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 239 vezes e gostou 8 espectadores. Boa visualização!