Video není dostupné.
Omlouváme se.
Javascript Promises | Easier than you think
Vložit
- čas přidán 19. 08. 2024
- In this video, we will learn about Promises in Javascript and how to use them in different ways. Will will also learn about chaining promises.
Witness the application of these skills in a practical scenario, providing you with a hands-on understanding of how to use JavaScript to dynamically enhance a web page.
Subscribe for more insightful tutorials by clicking the link below, so that you will not miss any updates.
www.youtube.co...
Mastering Javascript Course Playlist
• Mastering Javascript C...
Mastering Typescript Course Playlist
• Mastering Typescript C...
Angular Crash Course in Tamil Playlist
• Angular Crash Course i...
#jafscodeschooltamil #jafs #jafscodeschool
Instagram - / jafscodeschool
Discord - dsc.gg/JAFSCod...
Website - www.JAFSCodeSc...
true 200% trainer, mentor nothing compared to you brother. The service you are offering to younger generation is going to be phenomenal. we are getting benefitted forever. God will bless you for enlighting new generation youngsters to understand the concepts. Infact teacher's are god. awesome.
Thank you so much bro. Your words mean a lot 😊😊😊
Anna thanks a lot...cause of this video i got selected. Love You😘
Wowwwww. Thank you so much. Your message made my day. All the best. 🙂🙂
Teaching ❤❤❤❤
and my practice code is
console.log("Before all promises");
let pro1 = new Promise((resolved, rejected) => {
let r = Math.random();
if (r > 0.5) {
setTimeout(() => {
resolved(r);
}, 500)
} else {
rejected(r)
}
});
function p2f(t) {
let pro2 = new Promise((resolved, rejected) => {
if (t > 0.5) {
setTimeout(() => {
resolved(t)
}, 500);
} else {
rejected("eathoo thappa irukku da")
}
});
return pro2;
}
pro1.then((x) => {
p2f(x).then((xx) => {
console.log(xx + " is greater than 0.5");
})
}).catch((y) => {
console.log(y + " is less than 0.5");
}).finally(() => {
console.log("Summa finally");
});
console.log("After all promises");
nice explanation bro ....❤ Date time pathi video podunga bro 🙂🙂
very good explanation thank you
Hey bro, lots of thanks. Mellapula concept sollama neenga detailed a solradhu chance ella. adhum namma language la.. "YARUM EPPADI SOLLITHARALA" even course join panna kuda eppadi oru explanation kedaikadhu... Please continue your greatest work. Will be helpful for people like us(freshers and also less experienced).
Thank you 😊😊😊😊😊
simple way explanation really good bro
thank you bro....
You're welcome! 😊😊
Happy pongal dude... Really appreciate your accountability
Bro realy your explanation are very clear last two days ah promises ah pathi neraya video pathen but confused ah ve iruthuchi itha pathaaprotha theli a purithu thank you very much
Thank you so much Gokul. Happy that it helped 😊😊😊😊😊🥰
Awesome explanation bro, thank you very much for this video and you earned my subscription ❤
Thank you bro 🥰
Very useful video and good explain thank you ❤
You're welcome 😊
vere level anna Thanku so much anna
🥰
crazy good expln!
Thank you so much 😊😊
great explain hats off 💯
Thank you 🥰🥰
Nice explanation bro
Thank you bro. 😊😊😊
exact explanation bro
Thank you😊😊
thank you sir . happy pongal
😍
😊😊 Happy Pongal bro.
Please kindly upload any project regarding Java step by step brother...thank you 😊
I don't have expertise in Java bro. So for now I can't do bro.
As always 👌👌👌
🥰🥰🥰 thank you bro
super bro romba thanks bro
Thank you 😊😊
Thank you so much bro . Can you please upload React JS videos like this. It would be more helpful bro.
I am planning bro. Soon will start.
nice video anna
Thank you so much 😊
@@JAFSCodeSchoolTamil make some small discord discussion with subscribers
I am not getting much time bro that's why. For now i am trying to reply to all question i get but soon will plan this.
@@sribalancodes
thala promise or aysc await which one is best for asynchronus for new person to this concept
Pls kindly advice me what are the topics should I cover in javascript... Lots of topics are covered on CZcams by many CZcamsrs, so it's makes me confusing which is right choice.. Pls advice me...
Follow my playlist. I have some more topics remaining but you will have a good flow because i have tought from the basics.
czcams.com/video/vvfi0NC2yjw/video.html
Hi, Sorry to ask you personally are you from Cumbum?
No. But I did my schooling in cumbum.
@@JAFSCodeSchoolTamil Good to know! I did my schooling in Cumbum as well and got to know from my friend we both went to same school. You’re doing a great job. Keep it going 😊
Beginners only come and watch your video so teach us slowly ok your way of teaching is very fast beginning definitely can't understand
Promise wont handle any async operation, it's just a solution for callback hell.