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
In questa pagina del sito puoi guardare il video online Javascript ES6 Arrow Function With Object Creation Gotchas della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Lift And Shift Dev 06 gennaio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 126 volte e gli è piaciuto 4 spettatori. Buona visione!