Call and this in javascript | chai aur #javascript

preview_player
Показать описание
#javascript #hindi
Sara code yaha milta h

Discord pe yaha paaye jaate h:
Instagram pe yaha paaye jaate h:
Рекомендации по теме
Комментарии
Автор

I use to think "Call, apply and bind " was just a theoritical nothing practical thing but this is the first time I actually understood the Use Case of "CALL", one of the best Lecture thanks sir. Again Thanks a lot.

Dev-Phantom
Автор

I did not even know that call/bind/apply even exist.
Hitesh ji, you nailed it.

thecalgarians
Автор

Kuch teachers ke aawaj se unko padhna achha lagta hai. You are one of them Sir..

amit_
Автор

Congratulations sir for 150K subscribers...You deserve much more than that!...

ManishPrajapati_IIITS
Автор

best example for ecplanation of, what is call in js. Thanks sir

Dev-Phantom
Автор

one of the best series of JAVASCRIPT in YouTube 👍, the way of explanation is very good . Thanks for making such great videos for us

sourabhkakani
Автор

sir you have explained it very easily, thank you

geeteshyadav
Автор

Watch almost 2 playlist before that, but never ever learn new thing that way. Thank you Sir.

samrat_pandey
Автор

Great effort sir. This is one of the tricky ones, which you explained very well. I was always wondering why we need call/apply/bind, as we can call a function directly with its name. The only difference is, via call/apply/bind we can set our current context (optionally can send our parameters), which we cant do via normal function call. But, now i understood, under the hood its the function execution context which play a vital role when there is function inside another function.

architapatnaik
Автор

Sir ise speed se aaj hi complete krwa doge Javascript ko 😂😂😂😂 Thnx sir ise derailed course lane ke liye 🙇🙇🙇🙇

abhishekkhatana
Автор

The way you explains sir, that definitely came from years of experience. I used to move from one video to other to understand topics. But now found gem, no need to go anywhere else. Aapke samjhane se sab samajh aa jata h😊

nehabansal
Автор

Such good demonstration of call and this. Diagrammatic illustration makes the understanding concrete.

mdmusaddique_cse
Автор

I am addicted to Sir Hitesh Lectures, top notch quality available for free

muhammadarslan
Автор

Thanks sir jii ❤ your content and the way you explain is osm . You made js to easy to learn

akshayjain
Автор

12:20, Also run with a call back function to see if the 'this' for the callback does something different

theoldgamer
Автор

Love this JAVASCRIPT series.... Love you Hitesh

amit_
Автор

sir i'm in love with your teaching style can't express how good I'm feeling to find this channal 🥺

harshsajla
Автор

what is wrong with passing the context through arguement??
function setName(ctx, name){
ctx.username = name;
}

function createUser(name, email){
setName(this, name);
this.email = email;
}

anujpoudel
Автор

Ekdum badiya explain bhiya, dimag me hi call stack console.log ho gya !!

sumitsinha
Автор

There is a doubt in my mind. This call function is okay, like we can use call to use the reference of other function's execution context. But when we use "this" keyword in the function which is called by the call method then it will always access the other function's execution context, what if I also want to refer to my context.
Eg: What if I want a variable named as "username" (whose context refers to its parent function only) in the mentioned example's SetUsername method.
"this.username" always gives me context of createUser and append a new child always.

aadityapuri
welcome to shbcf.ru