JavaScript 'this' Keyword Explained

preview_player
Показать описание
In this video I'll be explaining in the simplest terms what the "this" keyword is in JavaScript. It's not as hard as many developers may think 🙂

Check out my similar video on the "bind" keyword, here:

For your reference, check this out:

💜 Join my Discord Server:

Support me on Patreon:

Follow me on Twitter:
@dcodeyt

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

#dcode #javascript
Рекомендации по теме
Комментарии
Автор

Oh my god ! You made it so simple and easy to understand something I’ve spent hours trying to understand properly ! Thanks man !

philippec
Автор

Please make more videos explaining this stuff. I must have watched like 7 in which they all explained it in the most confusing way or only within the context of objects. The freecodecamp one was BRUTAL.

boyacosweep
Автор

The only video on Youtube that actually did explain what "this" is. Thank You!

sohimurosohimuro
Автор

The part with event listeners is exactly what i was looking for and didnt find in any other tutorial. Now i got it. Thanks.

TheLuckyyy
Автор

This video was informative. Thanks again, Dom!

jamesmassa
Автор

Thank you you explained this very well

jmmmmmmmmmk
Автор

Thanks .. i understood it well now. Thanks again

emperoroftheearth
Автор

Dcode, can you make a tier list of programming languages or frameworks? Would be interesting to hear your opinion.

justtestingmycurrentskills
Автор

what theme for editor you are using? its simply looks cool

aravindelumalai
Автор

Nice introduction to the "this" keyword/concept. Thanks, Dom.

{2023-06-19}

Pareshbpatel
Автор

Please make a video about idempotent, and other concepts like this

starterdev
Автор

5:36 - the most confusing part of JS 'this' keyword - is arrow functions

rostyslav
Автор

Man if i had teacher like you before, i would have doctor's degree in programming already.

YellowPanamka
Автор

Hi my friend..thanks for this great video. Do you have some videos about Design Patterns please ?

rolandpierrelouis
Автор

Speaking about the keyword "this" and the location "this" is S U P E R C O N F U S I N G

ChrisAthanas
Автор

I found that it will work for function(){}, but if you use ()=>{} the arrow function won't work. Video around 3:20

henryshen
Автор

Who you're kidding man. If you're 50 years old, then I'm Marlin Brando

amonraii
Автор

Don't understand why you would use "this" simply for readability reasons, given that it can mean different things when used in different circumstances, and it isn't always obvious in which context it is being used. For many years, I have kind of stayed on the server side, because it seemed like Javascript was developed by teens that made it up as they went along. Stuff like "this" makes me think I was right.

jaybanks
Автор

How do you know a programming language is broken? It takes almost 8 minutes to describe the meaning of one word.

DavidJJJ