😎Hey, thanks for watching! We’d love to know your thoughts/doubts here in the comments. 🔴 To learn Web Development online with regular LIVE CLASSES, enroll now: forms.gle/XVJRMQdCMoPeNpBm7 👉For professional self-paced certification courses (pre-recorded), visit: bit.ly/Pre-Recorded-Course 👉Don’t forget to SUBSCRIBE to our channel for more such videos & valuable content: bit.ly/TH-cam-WsCubeTech
let prom = new Promise((resolve, reject) => { let num= 10 + 10; if (num === 20) { resolve("This resolve should come in the then block"); } else { reject("This reject should come in the catch block"); } }); prom .then((msg) => console.log("then block -->", msg)) .catch((msg) => console.log("catch block -->", msg));
😎Hey, thanks for watching! We’d love to know your thoughts/doubts here in the comments.
🔴 To learn Web Development online with regular LIVE CLASSES, enroll now: forms.gle/XVJRMQdCMoPeNpBm7
👉For professional self-paced certification courses (pre-recorded), visit: bit.ly/Pre-Recorded-Course
👉Don’t forget to SUBSCRIBE to our channel for more such videos & valuable content: bit.ly/TH-cam-WsCubeTech
Very helpful sir.... Best nd really point to point video on promise
Thanks alot for this sir I understand promise beta now
let prom = new Promise((resolve, reject) => {
let num= 10 + 10;
if (num === 20) {
resolve("This resolve should come in the then block");
} else {
reject("This reject should come in the catch block");
}
});
prom
.then((msg) => console.log("then block -->", msg))
.catch((msg) => console.log("catch block -->", msg));
sukreyaa ... etna video bane sazar code be share kar deta banda to keya jata
make bootstrap 5 video please i am waiting
Help sir please make a video on how to verify your business in Facebook business manager?
हेलो
सर
कैसे हो
How are you
Bsdk kyo puchh rha h