Seriously great explanation! Came here for more clarification on it after The Odin Project lesson Objects and Object Constructors
@alexferreira15347 ай бұрын
Same haha
@gameXIII7 ай бұрын
'This' references to the object that calling the function. This simple sentence cleared my mind after reading a lot of stuff about 'this'. Your explanation is amazing!!
@michi19935 Жыл бұрын
Finally someone that doesn't speak overly fast
@JohnBogart-o9l6 ай бұрын
Amazing explanation, much more concise than articles I've read.
@DevSage5 ай бұрын
Glad it helped!
@soIatido10 ай бұрын
Bro, that arrow function confused me while reading an article T - T. Thanks man!
@DevSage5 ай бұрын
Happy to help!
@ArunaTebel2 жыл бұрын
Thanks a lot. One of the clearest explanations of `this`. 🔥
@DevSage2 жыл бұрын
No problem, Aruna!
@FawnWiegand Жыл бұрын
I've been struggling to fully comprehend this; your video really helped me out. Looking forward to checking out more of your vids ;)
@kobudnik2 жыл бұрын
Appreciate all your useful vids. They've substantially benefited me in the first couple months I started out.
@flibben2 жыл бұрын
Very clean explanation, thanks for that!
@DevSage2 жыл бұрын
No problem!
@shivamthemas10 ай бұрын
best tutorial on "this" subject
@DevSage5 ай бұрын
Thanks!
@onagichitchat Жыл бұрын
i really want to say thank you because your simple explanation made me get it finally
@AYUSHSHARMAblogs2 жыл бұрын
Very nicely explained. Thanks
@DevSage2 жыл бұрын
No problem!
@riteshmehta2292 Жыл бұрын
Very clear explanation ..
@newredroses Жыл бұрын
So, could we say that using inline functions with the `this` keyword is discouraged (bad practice) since it would require it being nested within a normal function? Meaning that instead of using an inline and nesting it, It's better to simply just use a normal function? Please correct me if I am mistaken! :)
@DevSage Жыл бұрын
Correct.
@chetanbawankule-w3h2 ай бұрын
Brilliant explaination.
@KennehGebra-cf9ds9 ай бұрын
I subscribed because i was able to understand "this"
@DevSage5 ай бұрын
Thanks!
@Vamsikrishna-mf6ye Жыл бұрын
@GrantH26068 ай бұрын
9:53 Could you just use an arrow function with the forEach method/function to solve the "this" problem?
@DevSage5 ай бұрын
Yes!
@taheraalam515610 ай бұрын
best video on this topic! ty.
@DevSage5 ай бұрын
No problem!
@Affliction6042 жыл бұрын
Very good and instructive explanation
@FurkanKARADENIZ-tt8zf4 ай бұрын
I am okey with this topic but, i have a question. When i use this keyword on a object literal like 'fullName : this' it says it is a global object and this kind of little things confuses me. Thank you.
@charlesE89 Жыл бұрын
Great explanation, thank you!
@a-mok-youb Жыл бұрын
Is it possible to import any module without writing the module type and export it
@kristhellalvarez1306 Жыл бұрын
a big thumb up for you, thank you!
@d0tjs11 ай бұрын
was very helpful, thanks ..
@DevSage5 ай бұрын
You're welcome!
@codify24502 жыл бұрын
you are a legend
@Kotovar Жыл бұрын
Thanks!
@spageen11 ай бұрын
this is awesome
@DevSage5 ай бұрын
Thank you
@aloktomar85662 жыл бұрын
on forEach (8:02) when this refers to window object why dont we use arrow function for ex: this.hobbies.forEach((hobby)=>{ ( console.log( this.firstName )} ));
@abhishekpratap052 жыл бұрын
You can, i guess he just wanted us to learn how to fix it without changing the callback function type.
@hazfrd2 жыл бұрын
Right , but its more interesting to do that way for the sake of concept and learning isnt ?