I never seen, how easy explanation of callback function you have made, It is seriously the best and most clear definition of callback in TH-cam and Paid course.
for those who who still do not understand the code. 04:00 1. sayHello function - it prints the same value which will be passed as argument while calling the function. 2. add function - it has 3 arguments - num1 , num2 and callback a). it prints the sum of num1 and. num2 b). called function named callback() - the confusing thing here is that callback function is not seen declared than how it can be called so the answere is : when calling the function add() we have passed three arguments so the arguments when replaced the parameters we got to know that this function is printing the sum of 10, 20 and calling function sayHello() and since sayHello() is declared that's why the 7th line is written such that to just call the above function, this code is meant to replace the parameter (in this case 'callback') with the argument of function name (in this case 'sayHello')
Bro seriously! I wanted a revision on this callback and when i checked other videos it was quite confusing. But, you explained in such a way that, no possibility of forgetting the concept . Thanks Bro🙂. Kindly make react.js videos (if possible).
ya, i too find tech gun videos teaching or explaining in simplest manner than others due to which i clearly understand at first watch only. Thank you sir for your effort 👍👍
Simple and Short...Other videos were so confusing, but you explained in such a way that it was clear and cut...thank you..! Keep on the great work....!
at 5:54 you are telling that we can't pass another function directly but below code us executing without any error function sayHello(){ console.log("hello") } function sayHi(){ console.log("hi") } function add(num1,num2) { sayHi() sayHello() console.log(num1+num2) } add(30,40)
Sir if I'm not wrong, while defining a function or method those variables we give as inputs are called parameters. And while calling that function or method , those values we give as inputs are called arguments, the actual values. Am I correct?
Sir direct v function bana k call kr ra hu 1 se jyada kitne v tb v call ho ra h output aa ra h apne bola ki ni ayega or fir jab direct aa ra h to callback function ka kya fayda
But, both functions "sayHi, sayHello" are also called into add function. Its worked. I actually did not understand what do you mean? The DRY concept does not follow if I call two functions, are you actually mean that?
sir I am a beginner mujhe ye smjh nhi aarha h k hmne callback k name se jo parameter bnaya h phr us function k undr jb callback lkha h t uske sth paranthesis q lgae hn qk hm paranthesis t function k sth lgate hn r callback k name se to hmne parameter bnaya h function t nh t phr parameter k sth paranthesis q lgae hn?? kindly guide me.
kyuki us callback ki jagha ek function recive ho raha hai aur hum log paranthesis lga kar us function ko call kartey hai. Tum chaho to pahley ek console.log(callback) without paranthesis lga kar dekh lo ki waha kya recive ho raha hai. Tumko ek function dikhe ga
Way more understandable than any other youtubers!💯...simple is effective rather than showing themselves as they know everything!
I never seen, how easy explanation of callback function you have made, It is seriously the best and most clear definition of callback in TH-cam and Paid course.
for those who who still do not understand the code.
04:00
1. sayHello function - it prints the same value which will be passed as argument while calling the function.
2. add function - it has 3 arguments - num1 , num2 and callback
a). it prints the sum of num1 and.
num2
b). called function named callback() -
the confusing thing here is that callback function is not seen declared than how it can be called so the answere is : when calling the function add() we have passed three arguments so the arguments when replaced the parameters we got to know that this function is printing the sum of 10, 20 and calling function sayHello() and since sayHello() is declared that's why the 7th line is written such that to just call the above function, this code is meant to replace the parameter (in this case 'callback') with the argument of function name (in this case 'sayHello')
callback function was a pain in the ass for me.Thank you for clearing it sir you are awsome♥️
Bro seriously! I wanted a revision on this callback and when i checked other videos it was quite confusing. But, you explained in such a way that, no possibility of forgetting the concept . Thanks Bro🙂. Kindly make react.js videos (if possible).
Absolutely correct same with me.
Right😊
Same here yaar ..many video I watched but this guys is made very easy to understand ❤❤❤
Call back hell function ki video bna den please
Superb explanation i saw many vids or material but no one gave so deep explanation in easiest way which Tech Gun did easily in 10 mins
ya, i too find tech gun videos teaching or explaining in simplest manner than others due to which i clearly understand at first watch only. Thank you sir for your effort 👍👍
On my side, I had to write add ( a, b, sayHello() ); to display the "Hello", Great work Tech Gun.
Loads of Love. 🤩🤩
Simple and Short...Other videos were so confusing, but you explained in such a way that it was clear and cut...thank you..! Keep on the great work....!
Dear sir,
You are great !
Teaching technic is amazing!
Conception is clear to me after long days.
Thank you so much!!!
IN SIMPLE MEANING IF YOU PASS FUNCTION INSIDE FUNCTION IS KNOWN AS CALLBACK FUNCTION 🙂. Thanks bro keep going on .
WOW your explanation of the call back Function was fantastic and easy to understand
good to see you back. Keep it up.
getting callback function after watching 10 other vedios .....👍kudos to you brother ...
Sir you are great please upload map , reduce and filter function using arrow function as a parameter
I watched many video tutorials of callback but I didn't understand it but after watching your video I understood it. You explained it very well.❤❤
Glad to hear that
Literally the easiest explaination on TH-cam
Sir bhat video dekhe hum TH-cam pe callback function
But aapka videos dekh ke pura clear ho gaya
Code with Harry ka smjhaya hua kuch smjh nhi aaya, pr bhai tune jo smjhaya h 🔥❣️
Keep it up bro❤️
Code with Harry ❌ Tech Gun✅
Thank you 🙏
welcome back sir after a long time plz sir complete the adv js
Great Explanation sir...😍
Mzaa aa gayo...
BEST explanation. Thank you so much. ❤❤❤
maza agaya yaar.. way better than codewithharry..love It
👍
great explanation, I was not understanding why we will use callback .after watching this video now it's clear.
Thnx @TechGun
Thnku sir bhut der bd apka video mila lekin pura smjh aagya thnku so much
awesome lecture vishwajeet sir ji
Excellently explained... thank you Sir!
Sir aapki video bahut hi badhiya he ..easy to understand you are god for me
Thank you sir for continuing the js advance ❤️🔥
THANK YOU SIRRRRR THANKS A LOT. Your explanation is way better for me compared to other resources available on internet.
finally cleared concept of callback function 😌
great teaching skills i was confused in callback
waaah bhai chaaa gye aap to
simply explained , awesome outcome.
keep it up ✌
Clear and to the point.. 10/10
Thank you so much. :-)
thanks sir mere liye ye most difficult topic tha jo mujhe smjh ni aa rha tha ❤
bahut badiya sir
it was so difficult for me initially.. Thank u so much sir
at 5:54 you are telling that we can't pass another function directly but below code us executing without any error
function sayHello(){
console.log("hello")
}
function sayHi(){
console.log("hi")
}
function add(num1,num2)
{
sayHi()
sayHello()
console.log(num1+num2)
}
add(30,40)
excellent sir❣❣❣❣
Thank you so much sir 😊 .you are best 🎉
Thank you so much. You are a gem!!!
Liked 👍 before watching
You Stolen my heart brother.
Thanks a lot sir....😇😇😇😇
welcome back sir❤
THANK YOU SO MUCH MAN . I never knew it was so simple to understand this.
Glad it helped!
@@TechGun Sir plz API fetch ki video bnay, ur sync ur async pr bhi
Thankyou sir best'explained 🙏🙏
Thanku you sir..Understood it very easily :)
A truck load of thanks 🙏
Thank you sir for continuing js tutorial 💗💓💞💕
Welcome Back
Well explained!
Really well explained. Thanks
Thank you so much sir 🙏🙏🙏🙏
Amazing ❤
Sir pls upload videos on async , promise , json.....
Great clearance of the topic keep it up
well explained danewat
Welcome back....
you are amazing bro
🥰
very easy explanation
Very well explained sir.
awesome explaination.
Glad you liked it!
Please continue this series
thanks very clear concept
Amazing 😍🤩
Nice ❤
Sir if I'm not wrong, while defining a function or method those variables we give as inputs are called parameters. And while calling that function or method , those values we give as inputs are called arguments, the actual values. Am I correct?
yes you are right
❤thnq
really amazing video!
Very good video, please make video for Javascript Promises also
Greate sir thank you
nice information
Sir direct v function bana k call kr ra hu 1 se jyada kitne v tb v call ho ra h output aa ra h apne bola ki ni ayega or fir jab direct aa ra h to callback function ka kya fayda
Sir how many tutorials are comeing next plz tell me and how many time it takes to complete js tutorial 🤩
Thanks a lot
Thankyou sir love from iimt college greater noida^.^^.^^.^
now how many video remaining in react sir ?
plz upload as many as you can sir !!
love your teaching.
BHAI FETCH API KE LIYE BHI BNAO
sir please create videos about Ajax, JSON, API
At 5:45
Sir thank you so much sir
Please make video on promise async await it’s really helpful for us
Thank you sir ji
Sir java script ko continue kijeye thnx
that was great
Sir please come up with angular video
per dono functions ko call kerwaya ja sakta hai.... they do work
Aap kha rahe ho ki sayHi() function nahi call hoga
pls answer
Sir sorry to say but too late i thought javascript is finished ...please how many more videos is there for advance javascript?
loved it
Great
But, both functions "sayHi, sayHello" are also called into add function. Its worked. I actually did not understand what do you mean? The DRY concept does not follow if I call two functions, are you actually mean that?
Sir you have completed your react JS complete course basic to advance or not?
sir js me dsa bhi le kar ai please
Sir when you start node JS tutorial?
yr too good
How use call back symbol in js
sir isk baad vue js start kar dijiye
Bring one web3 and some other good projects with react
sir I am a beginner mujhe ye smjh nhi aarha h k hmne callback k name se jo parameter bnaya h phr us function k undr jb callback lkha h t uske sth paranthesis q lgae hn qk hm paranthesis t function k sth lgate hn r callback k name se to hmne parameter bnaya h function t nh t phr parameter k sth paranthesis q lgae hn?? kindly guide me.
kyuki us callback ki jagha ek function recive ho raha hai aur hum log paranthesis lga kar us function ko call kartey hai. Tum chaho to pahley ek console.log(callback) without paranthesis lga kar dekh lo ki waha kya recive ho raha hai. Tumko ek function dikhe ga