Complete Javascript Playlist
https://youtube.com/playlist?list=PL5...
In this video, I’ll show you How settimeout works in javascript.
🪄Enjoy!
code
---------------------------------------------------
// problem-1
//SetTimeOut function with using 3 or more parameters
// call each function with a delay of 2 seconds
fruit = ["apple", "banana", "watermelon", "grapes"];
function fav(fruit, fruit2, veg) {
console.log("My favourite fruit is " + fruit[0]);
console.log(fruit2);
console.log(veg);
}
function dislike(fruit, fruit2) {
console.log("I dont like " + fruit[2]);
console.log(fruit2);
}
function bought(fruit, fruit2) {
console.log("I bought some " + fruit[1]);
console.log(fruit2);
}
setTimeout(fav, 2000, fruit, "APPLE", "TOMATO");
setTimeout(dislike, 4000, fruit, "BANANA");
setTimeout(bought, 6000, fruit, "GRAPES");
--------------------------------------------------------------------------------------------------------------------------
🔥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
🔗📌Telegram : https://t.me/Rank1edu
🔗📌YouTube: / rank1education
🔗📌Instagram Official: @Rank1_Knowledge
🔗📌Instagram Personal: @ajinkya0011
🔗📌instagram: / ajinkya0011
🔗📌website: https://rank1.org.in
🙏🏻Do Like, Share and Subscribe our channel for Quality Learning Videos.
Regards,
Ajinkya Sir
-------------------------------------------------------------------------------------------------
Please 💓Like , Comment, Share and Subscribe💯
Don't forget to hit the🔔bell icon for further updates.
😊Thanks for 📺watching my video
Regards,
Er Ajinkya Sir
On this page of the site you can watch the video online Settimeout javascript | Settimeout function in javascript | Settimeout arguments with a duration of hours minute second in good quality, which was uploaded by the user Rank1 Education 11 October 2022, share the link with friends and acquaintances, this video has already been watched 210 times on youtube and it was liked by 6 viewers. Enjoy your viewing!