#41 What is the 'this' keyword? | JavaScript Full Tutorial
ฝัง
- เผยแพร่เมื่อ 23 ก.ค. 2024
- In this lesson we learn all about the 'this' keyword, we'll explore what it is, the different contexts in which it can be used and defined, and of course we'll look at a ton of examples throughout.
SUBSCRIBE and hit the BELL NOTIFICATION 🔔: goo.gl/nYLZvz
0:00 - Intro
0:43 - Four ways 'this' can be defined
0:59 - 'this' in the global context
3:30 - 'this' in a method
5:00 - 'this' in nested objects
6:43 - 'this' in DOM event handlers
8:13 - Lesson Summary
9:03 - Lesson Tasks
11:55 - Outro and Up Next
------------------
👍 HTML FULL TUTORIAL: shorturl.at/fiCMV
👍 CSS FULL TUTORIAL: shorturl.at/clGSZ
------------------
FACEBOOK: / devdreamercode
TWITTER: / devdreamercode
SUBSCRIBE and hit the BELL NOTIFICATION 🔔: goo.gl/nYLZvz
------------------
Learn with Dev Dreamer! Step by step, easy to understand tutorials :-)
Hey guys, if you found this video helpful you can support me by clicking the Like button above 👍 and Subscribe for more, thank you!
🎉You earned my sub. Great work, very understandable! 👍
Highly Recommended JavaScript Course
for some reason seeing tails as an example gives me joy. im more of a rouge fan but tails is so cute
It took me a couple of weeks to get here but I am excited to finish this playlist. Thank you so much!
I have watched plenty of videos on TH-cam and found this one to be the best explanation among all others . Thanks
this has been confusing to me before, thank you for clearing it up!
I was struggling with this, thanks for the explanation
This video is useful, enjoying these videos thanks
You are a great tutor. Glad that you mentioned C.S. Lewis, the great thinker. 👍👍👍
Hey Amit, do you have a video of DOM Manipulation in your series because I cannot find it if it's there or perhaps you've named it differently?! Thank you and you rock!
Life without dev dreamer for me will be like a website without js codes
Thank you 🙂👍
Great explanation. You could have included "this" in Arrow function in "this" video !
Hey Suyash, thank you. I intentionally held back on doing this because we'll be covering Arrow Functions and how they don't have their own 'this' binding, in detail in Lesson #46 🙂👍
Bro you've got to finish this JS lessons, pleasee
New content coming very soon 🙂
Why is "this" keyword not working in "user". For example: "user.name" instead of "this.name"