Комментарии:
promise.finally(()=>{}) is skiped, why???
ОтветитьLuckily ...I already have write Loadscript for practicing 😅 even before you asked for
Ответитьinitially , you stored the function "Promise" in a variable called "p". So "Promise" is a function nd a function is only executed when it is called , but here the function "Promise" is not called , something like this "Promise(with some parameters in it);" . So how is it executed without calling , i am confused . Pls help me out
Ответитьcan any one explain me whats the difference between the Promise and if else , we can use if else statement to alert the user about the error too right so why use Promise . I am confused
Ответитьye admi koi padma bhushan do he is brilian teacher
Ответитьtau ji be like : tamij nhi hai mere ladke ko
ОтветитьThank you harry bro
here is some code on promises:-
let HarryBhaiPromisesClear = new Promise((resovle,reject)=>{
setTimeout(()=>{
let IsPromisesClear = 'Clear';
if(IsPromisesClear){
console.log('Harry Bhai:- Thank you bro for confirmation');
resovle();
}
else{
console.log('video dhubara Dheko samaj aa jayega');
reject();
}
},5000)
})
HarryBhaiPromisesClear.then(()=>{
console.log('Thank You a lot harry bhai make more such type content. ab tho maza agaya')
}).catch(()=>{
console.log('sorry harry Bhai mene apake Promises ka video acha se nahi dheka, ab me ache se dhekunga')
})
In simple words: Promise cosists of two functions, and it returns one of the function's output(either resolve or reject). If it is resolve function then we use Promise.then to output it, if it is reject function then we use Promise.catch to output it. This is what I understood, if it is wrong please let me know, I will learn.
ОтветитьThank you So Much Harry Bhai, coz of you I got a job with 9 LPA . again Thank you so much HARRY sir Hats off
Ответитьमज़ा आ रहा है
Ответитьkudos for the efforts you put in
Ответитьaatank ka 2 ra name harry bhaiya 🤣
ОтветитьHarry vai mashalla padha app bohot achha ho bas editing thodi acchi karni ho to batnaa
Ответитьharry bhai your teaching is very well but when you teach any topic then you can also teach us when we use promise and where we use also 😇
Ответить👍👍👍👍👍👍😘😘😘😘
Ответитьwhere i can find promise notes???
Ответитьbro it didn't gave promises notes
Ответитьharry bhai!!!!!!! Please make videos on salesforce too
Ответитьharry bhai error catch ni kr rha mry sy
ОтветитьYe moti bar bar ajati hai, isko bolo ki pehle apna fat Kam kre
ОтветитьHTML, CSS, JS run nhi ho rha?
Ответитьreject ka matlab mujhse behtar kon jaan sakta hai🥲🥲
Ответитьharry bhai samjaneke liye handwriting notes use mat kare ppt use kare please apki video ab but gandi ati he notes ke sath
Ответитьkaafi dificult ho chuka hain 😭😭but ill not give up 💪💪💪💪💪💪
Ответитьalo paratha, 😆 you have such an amazing way of teaching.
ОтветитьThe GOAT .
Ответитьworst explaination
Ответитьye itna complicated he ki harry bhai bhi sahi tari ke se nahi bata pa rahe he
Ответитьso it's basically like error handling in Java.
ОтветитьHarry bhai padhai m disturb ho rha h add band krwa do 😁
ОтветитьI am getting error like promise is not defined i have written as u have done.
ОтветитьKonsa chapter download karna hai?
ОтветитьThe way he conquers every language is just phenomenal. Even programming languages are now scared of Harry bhai The God of code🎉
ОтветитьI love❤ you sir🥰😍
Ответитьallo parntha bhok lg gyi harry bhai...😅
ОтветитьBhaiya yr aap ne jaise ye javascript ki series alag alag krkr video banaya hai waise hi react.js ki bhi banana
Ответитьhow we will know that where to use resolve and where to use reject ,
and if we are using (reject callback function) then why we are performing that task in promise.
and if we are using (resolve callback function) then, do we have to use both then and catch method
hi, harry bhai. I have a question that can we do business in programming? kindly must reply.
Ответитьnext level typing sound...🤩
ОтветитьHarry sir is one of a kind💞
ОтветитьJisko samajh nahi aaya bo focus hoke with practice baar baar dekho ho jaayega but don't give up
ОтветитьWow awsome sir
ОтветитьKing 👑👑
ОтветитьThank you sir for creating this video!
Ответить