2 weeks ago I already went through this concept from the best content creator available on the internet but before starting this video I tried to recall them and it was difficult to recall all of them. But I am dam sure after this I will not forget this concept. On internet no content creator who use such analogy to explain web development concepts and make things so simple to understand. This is the X factor in your video that sets you apart please keep creating content like this and I am confident that soon you will start having people on your channel and courses who will be your permanent audience(student) not come and go kind of audience. When you asked about this on LinkedIn I mentioned using an analogy like Moto Patlu, thanks for listening and investing so much time to make this video.❤ This is giving me Kota teaching vibes😅
thanks so much Chirag Sir for making detailed video on this topic, literally amazing. Thanks for diving in depth, Please in future videos dive in deep tech. Thanks for putting so much efforts and time.
Perfect video Sir, even after working as a Software Engineer for more than 2.5 years, still got to learn a lot from 'this'. Superb Creativity and passion!
Hi Chirag const obj = { value: 42, regularMethod: function () { setTimeout(function () { console.log(this); }, 3000) } } obj.regularMethod(); I have a doubt with respect to above example. In both strict and non strict mode, this is pointing to window object. So, can we say that in normal callback functions inside setTimeout, this will always point to global object (window in case of browser) ?
The this inside the setTimeout callback does indeed point to the global object (in browsers, it's window) because a regular function is used.and setTimout is just calling callback function
This is an awesome video. But there is a request if performance optimisation, lld and hld videos also come on the Namastey System course, earlier they were about to come by 11th but now its showing :coming soon. Waiting for those videos to come soon!!!
Too Good. its 3.24am halfway sleepy still I totally understood the concept including advance one. Thank you Chirag bhaiya!! Finally after akshay I can watch someone else for JS()
Had to search internet for this because Akshay Bhaiya have covered mostly all: Got these things: 1. Threads, Concurrency, and Parallelism 2. Creating a modern JS library + Module Patterns 3. Deep dive into Prototypal Inheritance 4. Function Constructor and OOPS 5. Prototype vs \_\_proto\_\_ 6. Redux Toolkit Crash Courses These are some topics which I found you can make videos around these topics maybe. And I am sure people will love to learn about new technologies like crash course on Next.js or even Redux Toolkit something like that. Thanks in advance. 🙏🙏🚀🚀✨✨ @@engineerchirag
1. Module Patterns + Creating a modern JS library 2. Prototype vs \_\_proto\_\_. 3. Function Constructor + OOPS 4. Prototypal Inheritance 5. Threads, Concurrency, and Parallelism 6. Crash course on State management in React. Maybe these topics. Bhaiya, please bring something new like building some unique stuff maybe. That will work too. @@engineerchirag
2 weeks ago I already went through this concept from the best content creator available on the internet but before starting this video I tried to recall them and it was difficult to recall all of them. But I am dam sure after this I will not forget this concept.
On internet no content creator who use such analogy to explain web development concepts and make things so simple to understand. This is the X factor in your video that sets you apart please keep creating content like this and I am confident that soon you will start having people on your channel and courses who will be your permanent audience(student) not come and go kind of audience.
When you asked about this on LinkedIn I mentioned using an analogy like Moto Patlu, thanks for listening and investing so much time to make this video.❤
This is giving me Kota teaching vibes😅
Thanks a ton Anjay ❣️🙏
U9
Best explanation of this keyword in whole youtube.Thankyou sir ..
So nice of you ❤️
Your analogy is wonderful and will really help to remember these so far complicated things simple in future. Hats off to your effort.
Thanks a ton. Keep watching, keep sharing ❣️
Awesome 😄 the way you’ve explained 🔥
Thanks a lot 😊 😛
Loved the Explanation. Everything looked so simple. You're the CHAMP!
Glad you liked it! ❣️
great video Chirag Sir. Please create more videos on JavaScript. Please make a video on Clouser.
thanks so much Chirag Sir for making detailed video on this topic, literally amazing. Thanks for diving in depth, Please in future videos dive in deep tech. Thanks for putting so much efforts and time.
Thanks a lot for feedback. Please help this video to reach more Javascript lovers 🙏❤️
It was really good and understandable. Thanks a lot 🇧🇩
this is a creative way of explaining "this"...
🙏❤️
I was waiting for this video. Thanks.
Awesome. I hope you will like it 😉
Nicely Explained.
Glad it was helpful!❣️
Really liked this fun way of learning things 🤣🤣🤣
Awesome, more to come. Keep learning, keep sharing 🚀
Perfect video Sir, even after working as a Software Engineer for more than 2.5 years, still got to learn a lot from 'this'. Superb Creativity and passion!
Glad it was helpful! Keep watching, keep sharing ❣️🙏
good explanation
Keep watching 🚀
Hi Chirag
const obj = {
value: 42,
regularMethod: function () {
setTimeout(function () {
console.log(this);
}, 3000)
}
}
obj.regularMethod();
I have a doubt with respect to above example.
In both strict and non strict mode, this is pointing to window object. So, can we say that in normal callback functions inside setTimeout, this will always point to global object (window in case of browser) ?
The this inside the setTimeout callback does indeed point to the global object (in browsers, it's window) because a regular function is used.and setTimout is just calling callback function
Video is very helpful for me. Thanks for making this topic simple 👍🏻👍🏻
So nice of you ❤️
Owsm explanation 😃😃😃
Keep watching ❣️
Amazing Content 🤩
Thanks 🔥
🙏
This is an awesome video. But there is a request if performance optimisation, lld and hld videos also come on the Namastey System course, earlier they were about to come by 11th but now its showing :coming soon. Waiting for those videos to come soon!!!
Performance and LLD will be live in a week. Working to provide the best content 😊. I just need some time and support 🙏
@@engineerchirag I am with you and love the way you teach, 🔥🔥
Thanks a ton ❣@@yashmundra8497
thanks chirag ab zindagi bhar yaad rahega merko
Jane nahi denge tujhe 😛
Hi Sir,
Please do cover the topic of JavaScript design patterns and its significance in your upcoming videos.
Noted 👍
Too Good. its 3.24am halfway sleepy still I totally understood the concept including advance one. Thank you Chirag bhaiya!! Finally after akshay I can watch someone else for JS()
Thanks a lot ❤️. It means a lot to me 🙏
Please cover things which are not covered by Akshay in his js courses.
If you have any list of topics, feel free to share 🙂
Had to search internet for this because Akshay Bhaiya have covered mostly all:
Got these things:
1. Threads, Concurrency, and Parallelism
2. Creating a modern JS library + Module Patterns
3. Deep dive into Prototypal Inheritance
4. Function Constructor and OOPS
5. Prototype vs \_\_proto\_\_
6. Redux Toolkit Crash Courses
These are some topics which I found you can make videos around these topics maybe. And I am sure people will love to learn about new technologies like crash course on Next.js or even Redux Toolkit something like that.
Thanks in advance. 🙏🙏🚀🚀✨✨
@@engineerchirag
1. Module Patterns + Creating a modern JS library
2. Prototype vs \_\_proto\_\_.
3. Function Constructor + OOPS
4. Prototypal Inheritance
5. Threads, Concurrency, and Parallelism
6. Crash course on State management in React.
Maybe these topics. Bhaiya, please bring something new like building some unique stuff maybe.
That will work too.
@@engineerchirag
sir ek video on class,constructor super prototype please make a video on this
Noted
Now I get know how deepika behaves...! 😂 Great Explanation Man...! 👏👏
Thank you so much 😀
No Deepika got hurt in making of this video 😂
Deepika be like - mujhe kyu toda 😝
Lol 🤣 Life lessons 😛
Kya bakchodi hai bhai, bewajah gf bf ko milake complex kar rahe
Thanks a lot Chirag sir for detailed explanation. "this" is hottest interview question and now it is very much clear to me.
Keep posting such videos
Thanks 😊
const obj = {
name: 'Charlie',
greet: function() {
setTimeout(() => {
console.log(`Hello, ${this.name}`);
})
}
};
obj.greet();
const obj1 = {
name: 'Charlie',
greet: () => {
console.log(`Hello, ${this.name}`);
}
};
obj1.greet();
Predict the output in both case with reasons ?
Kya yaar gfbf lga ke poora confusion kr diya.....