Callback functions with parameters | How to pass parameters to callback functions

preview_player
Показать описание
In this video, I’ll show you How to pass parameters to callback functions

Complete JavaScript Playlist link

🪄Enjoy!

-------------------------------------------------------------------------------------------------------
//Callback functions with parameters
// imagine you are traveling to your Favourite Destination.
// Method-1
//one function is given the responsibility of calling another functions
function travel(Destination, NecessaryEquipments, ModeOfTransport, Expense) {
things = ["Camera", "Glares", "Clothes"];
NecessaryEquipments(things);
ModeOfTransport("Bus", "Train", "Airplane");
Expense(45000);
}

function NecessaryEquipments(things) {
}

function ModeOfTransport(B, T, A) {
}

function Expense(Money) {
}

travel("Australia", NecessaryEquipments, ModeOfTransport, Expense);

-------------------------------------------------------------------------------------------------------

🔥Motivation for Learning🔥
➡️"An investment in knowledge pays the best Interest."

Hi! I’m Ajinkya Sir.
🌎Mentored 5000+ Students Online and Offline
B-Tech In Electronics.
Passionate Teacher by Profession.
Be smart and Think logically

❓If you have any doubt or you want us to cover a certain topic,
please comment below.

✅If you need a video on particular topic just write in comment section.

We stream our sessions Live and Recorded sessions on this channel
Video are scheduled on timeline as Upcoming Live Stream.
videos are posted on daily basis.

ASK YOUR DOUBTS IN THE 💬COMMENT SECTION

Connect with me personally on
🔗📌Instagram Official: @Rank1_Knowledge
🔗📌Instagram Personal: @ajinkya0011

🙏🏻Do Like, Share and Subscribe our channel for Quality Learning Videos.
Regards,
Ajinkya Sir
-------------------------------------------------------------------------------------------------
Please 💓Like , Comment, Share and Subscribe💯
#rank1 Education
#rank1
#rank1education
#AjinkyaSir
#10th icse #mathematics
Don't forget to hit the🔔bell icon for further updates.

😊Thanks for 📺watching my video
Regards,
Er Ajinkya Sir
Рекомендации по теме
Комментарии
Автор

Brillant bro, from last 1day i was search a video on to pass argument if we are calling a another which contains another different parameters like
Function addition(a, b, callback){
Console.log(a+b);
Callback(a, b)
}
Function result(x, y){
Console.log(x*y);
}
addition (3, 2result)
O/p:-5
6
But in that situation a, b, x, y values are same but I want to multi with different value for x, y .REALLY THANKS FOR MAKING THIS SUCH A GREAT VIDEO ON PARAMETERS NO ONE EXPLAINING THIS 👌👌👌👌👌👌👌👌👌👌👌👌👌

mohammedilyasilyas
visit shbcf.ru