Thapa Rocks... I have seen so many videos but I got it after watching your videos. your first phone example is awesome. make your content in English your content is cool.
function callBackFunc( callback ) { callback(); } Function which are passed as a argument to other function and can be called callback function. #Great
I really like the way you explain things, you help me with my whole journey while I was learning web development. I will be very appreciative if I do something for you.
const per1=(friend,callfrnd)=> { setTimeout(function(){console.log(`i am busy right now i am talking to ${friend} `)},3000); callfrnd(); } const per2=()=>{ console.log("this is second function"); } per1("shivam",per2); is me call back function ne kam kyu nahi kiya,isme pehle per2() function ka output show ho rha hai, 3 sec baad me per1() function ka output aa rha hai,but according to callback function ,pehle per1() and baad me per2() execute hona chahiye na ? comment if anyone can explain this
hello sir, I request you to explain the callback function with timer example mentioned at the beginning of the video. second example me calback use kar ke kuch achive nahi hua.
callfrnd is working as a parameter, When perTwo()function pass to perOne as a argument function. Then callfrnd is act as a function due to perTwo() function. That's why it define as callfrnd();
callback ke liye perTwo ko perOne me pass karney ka jarurartt kya hai... bina pass kiye bhi toh direc call kar saktey hai na perOne ke andar se ? someone pls explain this.......
Callbacks are a way to make sure a certain code doesn’t execute until another code has already finished execution. So func A executes and is completed only then func B (say callback func) will start executing. So this concept is called Synchronous javascript code in your video 50 ruclips.net/video/tBmeblr67U0/видео.html. So why Callback functions fall under Asynchronous javascript topic rather than Synchronous javascript topic?
There is no need to pass the perTwo() as an argument of perOne(). If we can directly call perTwo() in perOne() body it still work. Can someone explain??
@ Thapa Technical bro please clear my doubt: when to use and when not to use one over other:----- function declaration, or function expression or arrow function
Thapa bhai thank you soo much, your video helped me soo much, ap se ek request hai CALLBACK KA REAL WORLD EXAMPLE bhi batao do na, i mean real programming ki ek example...aur bahot acha explain karte ho lekin thoda sa calm rhne ki koshish kiya karo samjhate time. Followed u on insta too
Sir pls pls pls ek full shopping cart ka tutorial banao na sir pls mai lagatar aapke har video pe ek hi cmnt kr raha hu......mujhe uski bohot zarurat h sir pls........mai or kahi se sikh nhi paa raha hu sir pls ek video banao na pls!
const perOne = (friend, callfrnd) =>{ console.log(" I am busy right now. talking to ${friend}. I will call you back. "); callfrnd(); } const perTwo = () =>{ console.log(" I am calling you back dakha."); } perOne("Zohair", perTwo); but output in the console I am busy right now. talking to ${friend}. I am calling you back. I am calling you back dakha. Why ${friend} method not working
Sir ap sb ky comments py vedios banaty hen plzz mere request bi pori kr den... Mjy laravel py complete vedio chahye start to end plzz sir.. Mera final year project start ho gya ha or mery pas time bht short ha
function abc(name,second){ setTimeout(function(){ console.log(`this is first ${name}`); },3000);second(); } function xyz(){ console.log('this is second funciton'); } abc("function",xyz); is me call back function ne kam ku nahi kya 3 sec bad dosra function ana chye tha magar ye to phle hi show hojata hai console me
function a() { setTimeout(() =>{ console.log("hello") ; b() ; }, 3000) ; } function b() { Console.log("india") ; } a(); b(); Without passing function this program also run then why we are passing function
Callback function ke itne videos dekhe but samjh nehi aya .. But apka video dekhle ekdam clear ho geya 100% ... Thank you sir❤❤
This way of explanation is very simple and align to the real scenario that helps us to understand properly.
jab kahi bhi kuch na samj aye to thapa bhai ka samjaya samj m a hi jaata hai ☺
Coding sikhne ka best channel hai THAPA TECHNICAL❤️❤️
Thapa Rocks... I have seen so many videos but I got it after watching your videos. your first phone example is awesome. make your content in English your content is cool.
Bro you are great, jio bhai 100 saal jio ek video me problem solve kar di yaar kaha the tum ab tak
Thank you bhai. Bhot video dekh lia but samaj to apki video me hi aya callback ka jhol🙏
waiting for data structures and algo with javascript
Thanks!
function callBackFunc( callback ) {
callback();
}
Function which are passed as a argument to other function and can be called callback function.
#Great
Your way of explaining is very simple .
Awesome bhai 👍🏻
Congrats for 💯 k subscribers🎉🎊
i was strugling with callback fun. but now i am like # ye callback fun. hai .... thnku bhai
😂😂
best explaination of call back functn ever
Bhai boht achi trah smjh aa gya😃😃
I got my doubt cleared only after your tutorial thank you technical bhai
Very clear explanation thanku.
thank you bhae itne acche se explain karne ke liye
maza aa gaya vai...thanks 😃
Your video really cleared my doubt , thanks
I really like the way you explain things, you help me with my whole journey while I was learning web development. I will be very appreciative if I do something for you.
i realize Im pretty off topic but does anyone know of a good place to watch new movies online?
@Ares Hudson flixportal :)
@Oscar Gordon Thanks, I went there and it seems like they got a lot of movies there :D I appreciate it !
@Ares Hudson glad I could help :)
@@areshudson4508 yomovies
your way of explaining is really awesome
really really great content brother. sending LOVE, prayer for your happy life. dil khush hua yarr
Thapa vii is a gem
thanks bro...your explanation is very good
const per1=(friend,callfrnd)=>
{
setTimeout(function(){console.log(`i am busy right now i am talking to ${friend}
`)},3000);
callfrnd();
}
const per2=()=>{
console.log("this is second function");
}
per1("shivam",per2);
is me call back function ne kam kyu nahi kiya,isme pehle per2() function ka output show ho rha hai, 3 sec baad me per1() function ka output aa rha hai,but according to callback function ,pehle per1() and baad me per2() execute hona chahiye na ? comment if anyone can explain
this
You make it very simple. Thank You !!!
Nice example👍
hello sir,
I request you to explain the callback function with timer example mentioned at the beginning of the video. second example me calback use kar ke kuch achive nahi hua.
I got stuck on call back function i your video explain it soo good
Congratulations bro for 100k subscriber
Thanku so much ☺️
I have a doubt ..you have not defined callfrnd function where is the definition of the function?
callfrnd is working as a parameter, When perTwo()function pass to perOne as a argument function. Then callfrnd is act as a function due to perTwo() function. That's why it define as callfrnd();
Thank you so much....u really make it simple♥️♥️♥️♥️♥️
Very good explanation😀
awesome..❤❤❤❤❤❤❤❤
Great Explanation Bro...
very well explanation... Thank you Thapa ...
awesome tutorial sir
you are really good
मलाई तपाईंको भिडियो धेरै मनपर्यो।
Khusi layo sunera.. sabbai sati haru lai share garideu la plz☺️
मैले यो भिडियो मेरा धेरै साथीहरूसँग साझेदारी गरेको छु
Nice explanation
Best as always!
Nice sir. :) Greate!
Thank you 😇😇💓
Osm video thnx sir
callback ke liye perTwo ko perOne me pass karney ka jarurartt kya hai...
bina pass kiye bhi toh direc call kar saktey hai na perOne ke andar se ?
someone pls explain this.......
Callbacks are a way to make sure a certain code doesn’t execute until another code has already finished execution.
So func A executes and is completed only then func B (say callback func) will start executing. So this concept is called Synchronous javascript code in your video 50 ruclips.net/video/tBmeblr67U0/видео.html. So why Callback functions fall under Asynchronous javascript topic rather than Synchronous javascript topic?
same query here, what diff it makes, other than that what if we call callfrnd function in the first line itself in the perOne function
Thank you so much sir 👍
There is no need to pass the perTwo() as an argument of perOne(). If we can directly call perTwo() in perOne() body it still work. Can someone explain??
eg is superb
Nice job👌👌👌
I really like your teaching method. can u please start DSA course?
Theme kon si use krty ho ap vs code ki
thankyou bhai...
Nice bhai
Awesome video
great job!!
@
Thapa Technical bro please clear my doubt: when to use and when not to use one over other:----- function declaration, or function expression or arrow function
Thank you so much
Nice sir
1'lakh vayapaxa special video 🤶🏽
Aba huna layo bro. Uta sabbai sati haru lai bana la.. dai ko 1lakh sunscobhayo banera.. aja rati 8bhje tira hunxa..
Thapa Technical 👌🏻 ok. Samir bhai la pani bandinxu
Thapa Technical tomorrow is holiday
Nepal won football $ag
Congarts. Dai. 1lakh. Very very. Congarts.
But how are we able to call an arrow function before its declaration. It should return error na
Where callfriend() is defined?
thank you sir
Amazing
Thapa bhai thank you soo much, your video helped me soo much, ap se ek request hai CALLBACK KA REAL WORLD EXAMPLE bhi batao do na, i mean real programming ki ek example...aur bahot acha explain karte ho lekin thoda sa calm rhne ki koshish kiya karo samjhate time. Followed u on insta too
Sir pls pls pls ek full shopping cart ka tutorial banao na sir pls mai lagatar aapke har video pe ek hi cmnt kr raha hu......mujhe uski bohot zarurat h sir pls........mai or kahi se sikh nhi paa raha hu sir pls ek video banao na pls!
Thanks Sar...
how to select funA together, ant shortcuts plz reply
goood bro
Gjb 🥳
perOne("Thapa", perTwo)
In this code why perTwo() is not written. Why perTwo is not forwarded by parathesis ()?
We are passing it as an argument not as a function.
@@アマン-l8w ok. I was confused in that part.. thanks
Thanks Bhai
that means one function in an other function called callback function
sir please make video on promises , async await
Boom Guys!
const perOne = (friend, callfrnd) =>{
console.log(" I am busy right now. talking to ${friend}. I will call you back. ");
callfrnd();
}
const perTwo = () =>{
console.log(" I am calling you back dakha.");
}
perOne("Zohair", perTwo);
but output in the console
I am busy right now. talking to ${friend}. I am calling you back.
I am calling you back dakha.
Why ${friend} method not working
` iska use Karo na ki " iska
this is not work with setTimeOut function
Thanks
Async and await ka banado na video
How to search for a number or string or a boolean value from an array and print it, can anyone help.?
const arr=['John' , 23 , true]
very easy loop trhough the array and check using type of
👋. 1'00'000. 👨🏻🏫. Vlogs.
Sir ap sb ky comments py vedios banaty hen plzz mere request bi pori kr den... Mjy laravel py complete vedio chahye start to end plzz sir.. Mera final year project start ho gya ha or mery pas time bht short ha
Video on..... admin panel...
THANK UU
Thapa technical ki jai with regards indialeaked.com
Its my humble request sir plzz...
thank
TIME TIDE AND JAVASCRIPT WAIT FOR NONE
Boom
❤❤
function abc(name,second){
setTimeout(function(){
console.log(`this is first ${name}`);
},3000);second();
}
function xyz(){
console.log('this is second funciton');
}
abc("function",xyz); is me call back function ne kam ku nahi kya 3 sec bad dosra function ana chye tha magar ye to phle hi show hojata hai console me
function a() {
setTimeout(() =>{
console.log("hello") ;
b() ;
}, 3000) ;
}
function b() {
Console.log("india") ;
}
a();
b();
Without passing function this program also run then why we are passing function
Ravish kumar official
💜💜🧡🧡
thank you so much sir
nice explanation
Thank you bhai
Nice sir