filmov
tv
Javascript ES6 Arrow Function With Object Creation Gotchas
![preview_player](https://i.ytimg.com/vi/SJYDs-U2ToU/maxresdefault.jpg)
Показать описание
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
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