I wish he would say “keyword this” and not just “this” when referring to the keyword, and “here” to speak of some thing instead of using “this” everywhere
Hey man! Thank you so much for this. I opened my RUclips and went to my "computer programming" page of suggestions. Didn't really know what I was getting into but this was great. You do a very good job of breaking things down in a way that others do not and make things understandable for the lay person!
Invest in video production meaning changing the quality of your cam(s), the post-production quality as well (meaning video edit) and you'll become a RUclips content creator/programming guru/teacher that is to be admired. Keep doing what you do and one day you'll be one of the top teachers on 'this' platform. You sir, are amazing.
Extraordinary tutorial. Sets itself apart by covering all use cases of the 'this' keyword. My only humble suggestion, is that instead of overwriting on previous example, you could comment out and write the next example underneath. BIG THANKS!!!
So glad that I have found your lectures. I had aversion for Javascript, but after started following your tutorials, I really enjoy learning different concepts. Kudos for all the support you are providing.
Nice clip. May I suggest a few topics I'd like to learn from you? 1. How do I know manipulating dom via javaScript is expensive? Any statistics in dev tools we can find? 2. Manipulating window's location api to change url and dom elements without refreshing browser. Like react router can do. 3. Can you explain how to avoid memory leak in browser? Like duplicating global event listener . 4. What's lifecycle flow in pure javaScript or browser render flow? Thanks.
Constructive comment: I agree with @adi stef that functions are actually objects. That's why statement at @7:36 is not correct. As a result THIS inside function refers to itself. Anyways, I like your work and i've learned a lot from you so thanks and keep the good work! :)
Sir your explanation was good but I felt that you carry forward everything very fast. By this, I meant that like after applying a technique, discuss it again for a better explanation. I know some people will say that pause the video or watch it again but I think it would be more clear if you discuss it again or go through the last used technique again.
@@DiogoSantos-ln1nz Well, they go together. It's kind of hard to make a REST API if you don't make a back end too. The backend stuff isn't very hard. At least in my experience, using Express is very simple and can be learned quickly. Plus, most of the people I learned from, would make a backend in their tutorials along with the frontend. Those like Brad Traversy, CodingTheSmartWay, Academind etc, all made the backend when teaching. You kind of had to at that point in time. There weren't these REST API's that are all ready to go services like they have now. Hopefully I explained this well, but if you don't understand my ramblings, let me know and I'll try to answer better. And, if you need ANY, any help with anything, let me know and I'll help you if I can. If you want my email address, let me know.
The explanation is super and make the concept very clear. Just one issue with the music with header which comes before each scenario. It breaks the understanding flow and connectivity.
Thanks so mush for such a comprehensive explanation!) Must say your work is really significant. I've been watching your channel for a couple of months and I've already learned a lot. Also, your tutorials are very helpful for preparing for interviews!) I've already recommended 'Techsith' to all my developer friends)) Great job, keep going ;)
Thank you for your nice explanation on "this" keyword.The beauty of this video is you demonstrated the effect of 'this' in all possible different places at one place.Could you please point me to the starting js video(video 1,video 2,video 3....) so that I can watch one after other serially.Because If I am seeing your videos from here and there, there are something in each video which I do not understand.For example when I was watching this video,I was not clear about let,const.I hope you got me.
This explanation was great but an instance where the function is passed as a parameter -- the method separates from the object and 'this' would refer to the global object. Ex: setTimeout(myObj.myMethodUsingThis, 1000) 'this' inside that method is now the window obj.
Nice explanation. I just have one doubt here. At 7:36 at this point of time, You said 'function is not an object' but everywhere I have read in javascript, everything is object and indeed function is also an object in JavaScript. So can anyone here clarify my doubt regarding this point ? Thank you!!
Good explanation about 'this' , giving a example really help us to understand and use in real world scenario, could you please give some real world example like how to use in app like banking, or hotel booking etc.. so that it will be more useful. Same examples for complicated topics like promises and closures. Thanks Sir for sharing knowledge with us :)
Sir , At 17:46 , you mentioned every object that cleanRoom creates, you'll have that method automatically available to it.' Please explain this part. It is cleanTable or createRoom. Where this method gets added??
Shaurya, first of all you have to have a constructor function . which has ability to create objects. more like a class. Now instead of adding method directly to it . you can a method to its prototype. so when you create object from this constructor function all the object will have a access to these methods via some reference. Here is a playlist that will help you explain all of these. ruclips.net/p/PL7pEw9n3GkoW0ceMeoycg9D00YjPAbtvt
I got a new job because of your tutorials!! Thanks a ton!
what happened to the old one?
@@HK-sw3vi Released for watching yt videos at work, is my guess.
"Today we are going to talk about this keyword."
"I'm sorry what keyword?" "
"This keyword."
"WHAT KEYWORD????"
this "this" keyword :)
var that = this;
"Not _What_ , _This_ ."
This reminds me of that viral article that said "buffalo buffalo buffalo buffalo buffalo buffalo buffalo" was a grammatically correct sentence
I wish he would say “keyword this” and not just “this” when referring to the keyword, and “here” to speak of some thing instead of using “this” everywhere
Fantastic teacher, this is the best explanation of "this" that I have come across by far. Thank you so much!
Thanks for watching!
You are the best teacher I have found anywhere on the Internet to explain complicated JS topics. Thank you for your videos and clear explanations.
Hey man! Thank you so much for this. I opened my RUclips and went to my "computer programming" page of suggestions. Didn't really know what I was getting into but this was great. You do a very good job of breaking things down in a way that others do not and make things understandable for the lay person!
Invest in video production meaning changing the quality of your cam(s), the post-production quality as well (meaning video edit) and you'll become a RUclips content creator/programming guru/teacher that is to be admired. Keep doing what you do and one day you'll be one of the top teachers on 'this' platform. You sir, are amazing.
Thanks for your feedback . I have recently invested in better equipments. Thanks for an awesome comment.
"this" channel is a gold mine. As with all gold mines, took a long time to discover!
Ananta, Thanks for an awesome comment.
Extraordinary tutorial. Sets itself apart by covering all use cases of the 'this' keyword.
My only humble suggestion, is that instead of overwriting on previous example, you could comment out and write the next example underneath. BIG THANKS!!!
OMG, I was not aware of 'this' keyword use case. Thanks alot for improving my skill set. One of the best tutorial on RUclips. Hats off Man.
Glad it was helpful!
this was that much beautiful that my knowledge scope global, local and inner is expanded to more than just window. Thank you
Vikramaditya, Thanks for watching. I am glad that you were able to grasp the concept quickly.
BEST EXPLAINATION I HAVE EVER HEARD... VERY WELL DONE SIR...
So glad that I have found your lectures. I had aversion for Javascript, but after started following your tutorials, I really enjoy learning different concepts. Kudos for all the support you are providing.
Sajith, great to hear! Keep on learning!
THID CHANNEL IS LIFE SAVER!
unogona iwe mudzidzisi, you're a great teacher !
'this' is indeed a great tutorial. Prevented me from watching 'that' and 'that' and 'that' other tutorial to get 'this' one concept👍👍
I like 'this' comment :)
Slow, clear, precise, good example, no confusion. Thank you!
'this' is very helpful, I know I'll get tripped up by it again in the future, but I'm feeling more comfortable with it.
Everyone starting to learn JS should see this first - very neat. Thank you techsith, you're a JS Angel :)
😎 Thanks for sharing and helping us to understand this beautiful language.
Thanks for watching Fabian!
great tutorial series. Thank you so much!! I has been learning programming for more than 1 year, I thought I knew Javascript but now I know I don't
Phuong, javaScript is a maze, I learn new things in js every day. :)
Thank you brother now i learn how to clean my table, awesome tutorial :)
you are best
and your Mock interview series was great
First time I see your vids, dropped a like 6 seconds in, tried to relike it 1 minute in... Your explanation is phenomenal
Glad you liked it! :)
with a number of examples, you have cleared it very nicely. thanks, love, and support.❤
For the first time, I came to know that so much goes in for 'this'! That's wonderful. Thanks for sharing.
thank you for explaning "this" using various use cases ! now "this" is awsm !!!!
My pleasure 😊
Nice clip. May I suggest a few topics I'd like to learn from you?
1. How do I know manipulating dom via javaScript is expensive? Any statistics in dev tools we can find?
2. Manipulating window's location api to change url and dom elements without refreshing browser. Like react router can do.
3. Can you explain how to avoid memory leak in browser? Like duplicating global event listener .
4. What's lifecycle flow in pure javaScript or browser render flow?
Thanks.
i love javascript after learning from you @techsith
Thanks for watching! :)
ok this is a really good channel, thank you man you are a great professor
VERY NICELY EXPLAINED TECHSMITH KEEP UP THE GOOD WORK
great teacher
Thanks for watching!
Nice.This is the best explanation I saw using the analogy object as ‘home’. Very well explained!
LOL I like the interruptions of emphasis, sounds like I leveled up on a video game, "tah dah dah dah"
The best explanation ever
Thanks for watching!
This house allegory is indeed brilliant!
lol, tables everywhere
Very nice and approachable explanation!
In JavaScript, functions are first-class objects, because they can have properties and methods just like any other object.
yes but it doesnt have this . unless your function is used with 'new' keyword.
superb video. It cleared all my doubts on 'this' keyword
Great! thanks for watching!
I like your teaching style!
the best video from the best teacher..God bless you
Thanks for watching Jalal.
You are simply awsome, the way you represent things is easy to understand.
Keep going
All the best
Thank you. The best explanation out there.
which this is a good example of the "this" keyword, I think it's a better sample of the .call and it's abilities.
You are just awesome. khub saras explain karyu tame.
Khub khub aabhar,
Excellent! thanks for all the help!
Itzel, Thanks for watching. :)
thank you for your neat and clean explanation
Constructive comment: I agree with @adi stef that functions are actually objects. That's why statement at @7:36 is not correct. As a result THIS inside function refers to itself. Anyways, I like your work and i've learned a lot from you so thanks and keep the good work! :)
you are a " GOD of 'this' " 🔥🔥🔥
Thank you Techsith. I have subbed. I am grateful.
You are amazing, greeting from Turkey!
Liked before watching..
Thanks for the premature like !
holy crap this was a super helpful vid. thanks man
Glad it helped!
Great explanation with real world example. Thank you!
Sir your explanation was good but I felt that you carry forward everything very fast. By this, I meant that like after applying a technique, discuss it again for a better explanation. I know some people will say that pause the video or watch it again but I think it would be more clear if you discuss it again or go through the last used technique again.
Hi, your video really help me, great explanation. I translated this video to latin spanish, hope it help others. Thanks.
very clear explanation using simple scenarios. thanks!
Glad it was helpful!
I am in love with javascript.
I'm not. Try Python, then come back and tell me that, lol.
Try TypeScript
@@Colstonewall nahh
C is much much bettler.
@@Colstonewall Any particular reason why you're learning both? Like Front End and Back End?
@@DiogoSantos-ln1nz Well, they go together. It's kind of hard to make a REST API if you don't make a back end too.
The backend stuff isn't very hard. At least in my experience, using Express is very simple and can be learned quickly.
Plus, most of the people I learned from, would make a backend in their tutorials along with the frontend.
Those like Brad Traversy, CodingTheSmartWay, Academind etc, all made the backend when teaching.
You kind of had to at that point in time. There weren't these REST API's that are all ready to go services like they have now.
Hopefully I explained this well, but if you don't understand my ramblings, let me know and I'll try to answer better.
And, if you need ANY, any help with anything, let me know and I'll help you if I can. If you want my email address, let me know.
Great analogy between the this keyword and a house!!
Adam, I believe that analogy that involves real life scenarios somehow helps us understand concepts. Thanks for watching!
Thank you techsith. You just earned my patronage! Keep it up brother
Thanks Karthik . Keep on learning brother!
Its explained in such a easy manner ... thanks
The explanation is super and make the concept very clear. Just one issue with the music with header which comes before each scenario. It breaks the understanding flow and connectivity.
GOod point. I will consider correcting it for the next video.
you saved my day bro...
I am glad that you got it Rohit. Keep on learning!
Thanks, Techsith for "this" tutorial :)
Hi Kartiki
Thanks so mush for such a comprehensive explanation!)
Must say your work is really significant. I've been watching your channel for a couple of months and I've already learned a lot.
Also, your tutorials are very helpful for preparing for interviews!) I've already recommended 'Techsith' to all my developer friends))
Great job, keep going ;)
Thank for recommending my channel to your friends :)
Thanks for responding on my mail.
Your tutorial is really helping me for understanding the concepts.
I'm learning quite a lot, thanks!
This helps me a lot Thanks!
Great lessons, crystal clear explanation. thank you
Your videos are amazing 👌
Awesome clarity in your videos man, great stuff!
i love the harry potter type music in between the topics
Oh the great techsith has made another amazing video!
you explain concepts really well
Amazing approach and fantastic explanation !!
Thanks for watching Naman.
Liked after the analogy with the house
Yo you just saved me after hours of struggling with this! Great teaching.
Thank you for your nice explanation on "this" keyword.The beauty of this video is you demonstrated the effect of 'this' in all possible different places at one place.Could you please point me to the starting js video(video 1,video 2,video 3....) so that I can watch one after other serially.Because If I am seeing your videos from here and there, there are something in each video which I do not understand.For example when I was watching this video,I was not clear about let,const.I hope you got me.
Hi Tejeswar, I have created a playlist of js fundamentals from beginning. ruclips.net/p/PL7pEw9n3GkoVYU-ZKBrDnxIiiUn0YP-uO
Thank you very much...
Great explanation!
Awesome Tutorial (Your Examples Gives Clear Interpretation of Understanding Concept)
Thanks for making this video...😊
This explanation was great but an instance where the function is passed as a parameter -- the method separates from the object and 'this' would refer to the global object.
Ex: setTimeout(myObj.myMethodUsingThis, 1000)
'this' inside that method is now the window obj.
Fantastic no words dude
nice tutorial, Every thing is cleared with 'this'
thanks Sir
Thank you for putting time and efforts to make this video. God bless you for that.
Those sound brakes though I find them distracting and annoying.
your lecture helps me a lot to figure out :D thanks so muchchchhc :D
Happy to hear that!
Man, this is really good video, it cleared so many things for me! Thank you for that!
How can we call inner function directly?
I am not getting any output in VS CODE when I am trying this inside a function
very good teacher thanks( subbed &liked )
Thanks my friend! Awesome!!!
Nice explanation. I just have one doubt here. At 7:36 at this point of time, You said 'function is not an object' but everywhere I have read in javascript, everything is object and indeed function is also an object in JavaScript. So can anyone here clarify my doubt regarding this point ? Thank you!!
This was incredibly helpful! Thank you.
Thanks a lot, a very clear illustration of this concept.
this cleared up so much for me. thanks!
Awesome manner of explanation! Cool channel. Don't stop, thank you!
Much love techsith!
Thanks for watching!
techsith And thank you for making! I've learned lots from you and am very grateful, keep it up!
great tutorial, thanks!
Glad it was helpful!
Good explanation about 'this' , giving a example really help us to understand and use in real world scenario, could you please give some real world example like how to use in app like banking, or hotel booking etc.. so that it will be more useful. Same examples for complicated topics like promises and closures. Thanks Sir for sharing knowledge with us :)
Best explanation ever for this. Thank you so much!
Nice tutorial!!!!
Sir ,
At 17:46 , you mentioned every object that cleanRoom creates, you'll have that method automatically available to it.' Please explain this part. It is cleanTable or createRoom. Where this method gets added??
Shaurya, first of all you have to have a constructor function . which has ability to create objects. more like a class. Now instead of adding method directly to it . you can a method to its prototype. so when you create object from this constructor function all the object will have a access to these methods via some reference. Here is a playlist that will help you explain all of these. ruclips.net/p/PL7pEw9n3GkoW0ceMeoycg9D00YjPAbtvt
Thank you sir.
Thanks you so much techsit tutorial