Promises in Javascript

  Рет қаралды 33,689

Piyush Garg

Piyush Garg

Жыл бұрын

Hey Everyone, In this video, we are going learn about promises in Javascript.
Connect With Me: bio.link/piyushgargdev
My Gears
► My Girlfriend: amzn.to/3WD6FRp
► Apple MacBook Laptop: amzn.to/3WBJgQn
► Blue Yeti Microphone: amzn.to/3YKZ9FT
► External 27” Monitor: amzn.to/3Vp3xaO
► Logitech MK295 Wireless Keyboard and Mouse: amzn.to/3DuL1bB
► Seagate Expansion 1TB External HDD: amzn.to/3QMm5Q8
► Tripod: amzn.to/3S4OwK4
► Ring Light: amzn.to/3YLf8DR
Disclaimer: All the links above are affiliate links.
More Playlists
► Complete ReactJS Tutorial Series - • Complete React Tutoria...
► Complete Firebase & React Tutorial Series - • Firebase with Reactjs ...
Social Links
► Twitter - / piyushgarg_dev
► LinkedIn - / piyushgarg195
Video Titles
What is Javascript?
What is Promise?
Async in Javascript
Await in Javascript
Hashtags
#javascript #fullstackdevelopers #javascriptinhindi #frontenddeveloper #frontend #js #webdevelopment #webdesign #webdev

Пікірлер: 37
@FaizanKhan-gfaizank
@FaizanKhan-gfaizank 10 ай бұрын
Key takeaways from this video:- 1.) Promises come as a result of asynchronous tasks in Javascript. 2.) While calling external json data through fetch(), we get a promise on console. 3.) await can only be used with async. 4.) async function getData(){ const responseFromServer= await fetch(' Link to json data'); console.log(responseFromServer); } is an example of using async and await. 5.) For better output of json data we can use the console.log statement as:- console.log(await resultFromServer.json()); 6.) fetch() can also be executed as follows:- fetch(' Link to Json data').then( (data) => { console.log(data); }).catch( (error) => { console.log(error); });
@codingwave56
@codingwave56 11 ай бұрын
Finally I UnderStood Async ...Promises ... Thank You So Much... Iss Se Pehle Bahot Baar Sikhne Ka Try Kiya Lekin... Jesa Ki Atomic Habit Mai Bataya Gaya Hai Ki/// 101 bar hathoda marne par tutne vala pathar sirf 101 vale mai nahi tut ta... uske piche bhi 100 hathode lge hote hai same vhi hua hai ya kya hua mujhe nhi pta parr iss video se bahot jyada achi clarity mill gyi hai... Thank You So Much 😊❣
@samirkha
@samirkha 5 ай бұрын
The Async and await in javascript is that so simple? Wow, This video is the best way to understand the async and await concept. Thanks
@manasverma7278
@manasverma7278 10 ай бұрын
U sure are underrated. I am gonna watch your videos specifically for the next few months. Doing a great job man.
@mickey-bz5cf
@mickey-bz5cf 5 күн бұрын
He's not, everyone else's are overrated
@imortalgaming5684
@imortalgaming5684 26 күн бұрын
perfectly understood the concept of async and await. Thank you sir
@shamshad3971
@shamshad3971 10 ай бұрын
Finally, I am confident in javaScript.....Thanks a ton!
@trishabhaskar6543
@trishabhaskar6543 Ай бұрын
Maine phele Harry sir k video dekhi nhi smja kuch bhi or piyush sir ne Jo smjay ek bar me he smj gya 😅
@heeetv6463
@heeetv6463 Ай бұрын
+1 mann wo new promise wali cheez hi hatadi sidha async await , yehi chaiye tha direct short explanation
@trishabhaskar6543
@trishabhaskar6543 Ай бұрын
@@heeetv6463 😂😂
@shi-nee7966
@shi-nee7966 Жыл бұрын
great video, i just read bout it yesterday but this vid made it way clearerrr
@studyplans3783
@studyplans3783 25 күн бұрын
how i understood asynch : muje dataa do par usne diya promise.. baki bole hta do par m karta rha koshish... m gumsum sa bahta rha kar rha tha think.. piyush bahi ka vedio dekha mujha chamka async... async bola m promise dunga pura par bad m.. js log karne ko bahta rha uski yaad m.. async async karke jab mene likha code.. await ko aya gussa or bola leave me alone
@hashcodez757
@hashcodez757 Ай бұрын
doosri jgah dekhne k baad yha aaya hu wha smjh nhi aaya tha Well explained!!
@iits_ad
@iits_ad 9 ай бұрын
Hey piyush bhaiya your explanation is Amazing ! lots of love❤❤😍😍
@shubhamsingh-gb5zh
@shubhamsingh-gb5zh 3 ай бұрын
best explanation of async/await promises
@MohammadirfanSheikh-px5eq
@MohammadirfanSheikh-px5eq 3 ай бұрын
amazing bro
@jayyy311
@jayyy311 Жыл бұрын
Great explanation :)
@jatinsharma3792
@jatinsharma3792 9 ай бұрын
Mast h bhai mast samjhata tum!!!
@RAHULKUMAR-jw5ll
@RAHULKUMAR-jw5ll Ай бұрын
sir your react play list to good or better understanding thank you sir , its my humble request sir please can you upload your javascript video playlist please i want to revision js properly or better understanding with your videos thank you sir😊😊
@meerutkavishal
@meerutkavishal 8 ай бұрын
Bro keep going ❤
@NoorFatima-pf1sq
@NoorFatima-pf1sq 4 күн бұрын
Thanks 😊
@callofduty4964
@callofduty4964 Жыл бұрын
Very well-explained and fine-made video this is. Thank you so much for this educational playlist.
@piyushgargdev
@piyushgargdev Жыл бұрын
You're welcome! 😇
@jinngaming6942
@jinngaming6942 9 ай бұрын
thank u sir mughe na async await or promise samagh nahi aaya tha aapne samgha diya pata hai sir ye video mughe mere dost ne prefer ki thi or kaha tha acha lage tho thanks bol dena sir ko
@lovelymusic3549
@lovelymusic3549 Жыл бұрын
Sir please start new react course
@jahangirashraf6267
@jahangirashraf6267 3 ай бұрын
Thanks ...
@IAMWITHFLOW
@IAMWITHFLOW 4 ай бұрын
"MOM SAYS NO GIRLFRIEND" 😂
@ShubhamPatil-rr4on
@ShubhamPatil-rr4on Жыл бұрын
Amezing explanation ♥️🚀
@piyushgargdev
@piyushgargdev Жыл бұрын
Thank you 🙌
@jatinsharma3792
@jatinsharma3792 9 ай бұрын
You beauty !!!
@not_amanullah
@not_amanullah 4 ай бұрын
Understood++
@SagarSagar-ro3fj
@SagarSagar-ro3fj Ай бұрын
U r god .
@user-ki5hf5sq4t
@user-ki5hf5sq4t 6 ай бұрын
WHY WE put await before resultFromServer.json()? as result from server already has data since we waited there isn't?
@TOONSSTATION
@TOONSSTATION 3 ай бұрын
Same question.
@sathwikksk
@sathwikksk 3 ай бұрын
its just the same
@user-vq6gr9ve9o
@user-vq6gr9ve9o Ай бұрын
brother ho sake to thoda mike najdik rakhlo
@pranavsrivastava5044
@pranavsrivastava5044 2 ай бұрын
Ye sala prompt engineering ke advertisement wale bande ka muh dekhke mood khrab ho jata h🙃
Closure in Javascript
14:55
Piyush Garg
Рет қаралды 17 М.
Promise in javascript | chai aur #javascript
50:21
Chai aur Code
Рет қаралды 205 М.
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 291 М.
⬅️🤔➡️
00:31
Celine Dept
Рет қаралды 50 МЛН
ОСКАР ИСПОРТИЛ ДЖОНИ ЖИЗНЬ 😢 @lenta_com
01:01
What are JavaScript PROMISES? 🤞
12:37
Bro Code
Рет қаралды 42 М.
Promises vs Observables in 2 minutes
1:56
Irek Mirgaleev
Рет қаралды 69 М.
JavaScript Promises In 10 Minutes
11:31
Web Dev Simplified
Рет қаралды 1,7 МЛН
Composition in Javascript | Javascript Interview Questions
11:55
Piyush Garg
Рет қаралды 10 М.
Local Storage in Javascript
9:00
Piyush Garg
Рет қаралды 10 М.
`const` was a mistake
31:50
Theo - t3․gg
Рет қаралды 122 М.
JavaScript this Keyword
8:21
Programming with Mosh
Рет қаралды 447 М.
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 291 М.