Рет қаралды 55,849
Hey Dev! Everything okay?
Is 'this', on the several contexts of JavaScript keeping you awake at night? Are you using this concept in an efficient way in your code?
If you need to know how the context and the scope, strict mode, local and global 'this', how 'this' works in a method, inside a function and even inside a function that is inside another function; beyond knowing how it works in a class...
This class, then, will help you understand a little bit about how to use these guys.
We'll also see how the methods: .apply(), .call(), and .bind() can help you manipulate 'this' in several scopes and contexts.
Beyond that, how the arrow function works in these scenarios.
I hope this makes sense to you!! 💜
Repository: github.com/Roc... (in Portuguese)
-----
Follow Rocketseat on our social media:
Website: www.rocketseat...
Twitter: / rocketseat
Facebook: / rocketseat
Instagram: / rocketseat_oficial
Comunity: comunidade.rock...
Blog: rocketseat.com...