Javascript context/scope this keyword is one of the worst feature ever invented. It creates many confusions and headache for developers, even for experienced developers.
Javascript ES6 tried to mitigate it by introducing arrow function. However, there are a couple of gotchas/mistakes that I encountered during my career. I will go through these in this video.
#javascript #js #es6 #arrowfunction #arrowfunctions #gotchas
Timestamps:
0:00 - Object literal with arrow function
2:39 - Function constructor prototype method with arrow function
6:12 - Class prototype method with arrow function
Nesta página do site você pode assistir ao vídeo on-line Javascript ES6 Arrow Function With Object Creation Gotchas duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Lift And Shift Dev 06 Janeiro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 126 vezes e gostou 4 espectadores. Boa visualização!