Demystifying THIS Keyword in JavaScript | The Complete JavaScript Course | Ep.87

preview_player
Показать описание
Join us as we dive into the world of JavaScript, focusing on one of its most crucial but confusing elements - the 'this' keyword. Whether you're just starting out or looking to clear up some confusion, this video is the perfect guide to understanding 'this' in JavaScript.

🌟 What We Cover:

Basics of 'this': A simple, easy-to-understand introduction to the 'this' keyword.
'this' in Different Places: See how 'this' changes based on where it’s used in your code.
Functions & 'this': Learn the difference between regular and arrow functions in terms of 'this'.
Real Examples: Practical, everyday examples to illustrate 'this' in action.
Avoid Common Errors: Tips to prevent common mistakes with 'this'.
Advanced Tips: Quick look at advanced techniques for using 'this' more effectively.

👥 Perfect for:
JavaScript beginners wanting a clear explanation.
Developers who get stuck on 'this' occasionally.
Anyone looking to clarify their understanding of JavaScript.

📝 Extra Resources:
Code examples from our video.
Further reading to deepen your understanding.
Practice exercises to master 'this'.

✅ Why Watch:
Gain a solid grasp of 'this' in JavaScript.
Write cleaner, more efficient JavaScript code.
Boost your JavaScript debugging skills.
Remember to Like, Share, and Subscribe for more JavaScript insights! Leave your questions or comments below, and stay tuned for our upcoming videos on more JavaScript topics!

📖 Chapters
00:00 - Introduction
00:25 - What is the definition of 'this' keyword on MDN?
01:28 - How to correctly define 'this' keyword in JavaScript?
04:10 - How does 'this' keyword work with an object, method inside a method of an object, constructor function, and Event Listener in JavaScript?
18:00 - How does 'this' keyword work with the Arrow function?
22:03 - How does 'this' keyword work with a Class in JS?
24:23 - Conclusion

Have any doubts? Join this Telegram group and ask your questions. You can also share the projects that you make in this group.

Social Media

Music by geoffharvey from Pixabay
#javascriptinhindi #anuragsinghprocodrr #functions #thiskeywordinjavascript #this
Рекомендации по теме
Комментарии
Автор

I have watched many videos on OOPS concepts but every time I was facing some issue to understand. Then I got to know about your playlist regarding OOPs now all doubts have been cleared. Kudos to you sir. Thanks

PramodVerma
Автор

Aaj mera JavaScript complere ho gaya. Thnk you Sir👏👏

KrishJaiswal-frgn
Автор

Just wanted to drop you a huge thank you for your awesome JavaScript series! Seriously, it's been such a game-changer for me. Your explanations are spot-on, and the fact that you're doing this for free is just amazing. I've learned so much and can't wait to keep diving deeper into JavaScript because of you. Thank you, sir.

kirtiraghav
Автор

Thank you, Anurag Bhai. I have been watching your JavaScript videos for three months straight, and today I finally completed them. I have gained a lot of knowledge, and now I can easily create any JavaScript project because I learn and practice daily. many many thanks bhai ❤❤💫

codinglife
Автор

Mera aaj java script complete ho sir thanks for support sir and amazing information ❤❤

ASPGAMER-gg
Автор

12:40 thank sir ab samaj aa gya h ki ki this agar kisi method ke ander koi block scope ya fhir finction scope hai to wahaan work nhi krega uske liye hume agar se this ko introduce krwaana pdega jaise aapne forEach method ke liye kiya

ashishkumar-jocj
Автор

Thx u sir aaj meri javascript complete ho gyi 😊

Tanwar_varun
Автор

very nice explaination sir ....please post more and more videos....

SwapnilKumbharkar-vg
Автор

Ser mera javascript complete hogaya 😢 🎉🎉🎉 thank you ♥️ for your support

ParvezKhan-epzg
Автор

Sir, how many vedios more will come on javascript?

avcodeversee
Автор

sir isme oops ke 4 piller ka example kaha hai ?

HiteshPanchani
Автор

7:52 sir agar hum object ke method jo ki fullName hai uske ander bhi ek object ko mention kr de or fhir waha bhi ek method define kr de or uske ander this ko console.log karwana chahe to fhir this kisko point kr rha hoga us inmer object ko, ya fhir outer object ko ya window object ko please sir is confusion ko dir kijiye 😢😢😢😢

ashishkumar-jocj