Promises | Ep 02 Season 02 - Namaste JavaScript

Akshay Saini β€’ October 8, 2022
Video Thumbnail
Akshay Saini Logo

Akshay Saini

@akshaymarch7

About

Namaste, I'm Akshay Saini, mentor and founder at Namaste Dev. I have worked as a Software Developer for big companies like Uber & Paytm. I've 10+ years of coding experience, and now I've left my job to pursue my passion for teaching full time. In this channel, you will find content for Interview preparation, Tech Tutorials, and my Tips and Tricks to advance with your career. You will find useful videos about Frontend Interview Tips, My Interview Experiences, and core concepts of Javascript. My videos have reached over 1.2M subscribers and I have trained over 100K students globally. If you are a frontend enthusiast, I welcome you to join our Tech community at Namastedev.com Hope this channel adds value to your frontend journey! Cheers, Akshay Saini Would love to connect with you, LinkedIn - https://www.linkedin.com/in/akshaymarch7 Instagram - https://www.instagram.com/akshaymarch7 Twitter - https://twitter.com/akshaymarch7 Facebook - https://www.facebook.com/akshaymarch7

Video Description

Promises is the new way of handling asynchronous operations in JavaScript. This episode of Namaste JavaScript Season 2 will explain how Promises work in JavaScript along with code examples in detail. 00:00 - Introduction 00:50 - Code Example of Callbacks and Promises 08:05 - Promise.then function 09:30 - Callbacks vs Promises 11:23 - Importance of Promises 12:22 - Promise Object in Browser 15:58 - Deep dive into Promise States 21: 52 - Promise Interview Question 25:20 - Promise Chaining in JavaScript 30:13 - Common mistake while Promise Chaining 33:17 - Recap of the video 36:22 - Teaser of the Next Video 37:11 - Homework of this episode 38:32 - Thank you for watching Namaste JavaScript πŸ™ If you find this video helpful, Please support me by giving a Super Thanks contribution to the video β™₯️ If not by money, you can also support this video series, by sharing it with your friends on Social Media. πŸ™ I'll give my best to come up with great content and everything absolutely for free on YouTube. 😊 Also, give it a thumbs up and subscribe to my channel for more such videos. πŸ”” Link to Subscribe: https://www.youtube.com/c/akshaymarch7?sub_confirmation=1 Cheers, Akshay Saini http://akshaysaini.in Stay Connected: LinkedIn - https://www.linkedin.com/in/akshaymarch7 Facebook - https://www.facebook.com/akshaymarch7 Instagram - https://www.instagram.com/akshaymarch7 Twitter - https://twitter.com/akshaymarch7 #NamasteJavaScript #AkshaySaini

Bring Nature Home

AI-recommended products based on this video

Loading...
KORCCI Suction Cup Hooks 12Pack - Max Load 10LB, 1.77Inch Clear Medium Suction Cups, No Trace, Reusable & Removable, Stainless Steel Hooks, for Tile, Glass, Window, Shower, Kitchen, Bathroom

KORCCI Suction Cup Hooks 12Pack - Max Load 10LB, 1.77Inch Clear Medium Suction Cups, No Trace, Reusable & Removable, Stainless Steel Hooks, for Tile, Glass, Window, Shower, Kitchen, Bathroom

(1,789)
$5.98
FREE delivery Fri, Nov 14 on $35 of items shipped by Amazon
10K+ bought in past month
Loading...
Barnyard Designs Indoor Herb Garden Planter Set with Tray, Metal Windowsill Plant Pots with Drainage for Outdoor or Indoor Plants, Set/3 (Black)

Barnyard Designs Indoor Herb Garden Planter Set with Tray, Metal Windowsill Plant Pots with Drainage for Outdoor or Indoor Plants, Set/3 (Black)

(3,684)
26.95
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35
100+ bought in past month
Loading...
25 White Bakery Boxes with Window 5x5x3.5 Inches, Dessert Boxes to Go with Window, Treat Boxes for Small Bakery, Dessert, Candy, Cookies, Pastry, Party Favors, Wedding Cake

25 White Bakery Boxes with Window 5x5x3.5 Inches, Dessert Boxes to Go with Window, Treat Boxes for Small Bakery, Dessert, Candy, Cookies, Pastry, Party Favors, Wedding Cake

(451)
18.99
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35
Loading...
Steelite 13.2” Electric Lawn Mower for Small Yards - 2-in-1 Compact, Lightweight Brushless Motor, 21V 4.0Ah Battery & Charger Included, Green

Steelite 13.2” Electric Lawn Mower for Small Yards - 2-in-1 Compact, Lightweight Brushless Motor, 21V 4.0Ah Battery & Charger Included, Green

(113)
139.99
FREE delivery June 13 - 16. Details
100+ bought in past month
Loading...
3 Styles Hair Clips for Women Small Medium Big Claw Clips for Thin Thick Hair 12 Pcs Hair Claw Clips Hair Clips Combination Hair Accessories for Women (Brown)

3 Styles Hair Clips for Women Small Medium Big Claw Clips for Thin Thick Hair 12 Pcs Hair Claw Clips Hair Clips Combination Hair Accessories for Women (Brown)

(492)
$8.96
FREE delivery Sun, Dec 28 on $35 of items shipped by Amazon
30K+ bought in past month
Loading...
Macally Small Wired Keyboard for Mac and Windows - 78 Scissor Switch Keys Compatible Apple Keyboard - USB Mini Keyboard That Saves Space and Looks Great - Plug and Play Wired Mac Keyboard - Aluminum

Macally Small Wired Keyboard for Mac and Windows - 78 Scissor Switch Keys Compatible Apple Keyboard - USB Mini Keyboard That Saves Space and Looks Great - Plug and Play Wired Mac Keyboard - Aluminum

(4,883)
27.99
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35
200+ bought in past month
Loading...
Barnyard Designs Indoor Herb Garden Planter Set with Tray, Metal Windowsill Plant Pots with Drainage for Outdoor or Indoor Plants, Set/3 (Black)

Barnyard Designs Indoor Herb Garden Planter Set with Tray, Metal Windowsill Plant Pots with Drainage for Outdoor or Indoor Plants, Set/3 (Black)

(3,684)
26.95
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35
100+ bought in past month
Loading...
Ozeino Gaming Headset for PC, Ps4, Ps5, Xbox Headset with 7.1 Surround Sound Gaming Headphones with Noise Canceling Mic, LED Light Over Ear Headphones for Switch, Xbox Series X/S, Laptop, Mobile White

Ozeino Gaming Headset for PC, Ps4, Ps5, Xbox Headset with 7.1 Surround Sound Gaming Headphones with Noise Canceling Mic, LED Light Over Ear Headphones for Switch, Xbox Series X/S, Laptop, Mobile White

(26,227)
$16.14
FREE delivery Sat, Nov 29 on $35 of items shipped by Amazon
7K+ bought in past month
Loading...
6-Pack A19 LED Light Bulbs,60 Watt Equivalent Daylight 5000K with E26 Base,Efficient 9W,800 Lumens Non-Dimmable LED Bulbs,15000 Hours, Ideal for Bedroom Living Room

6-Pack A19 LED Light Bulbs,60 Watt Equivalent Daylight 5000K with E26 Base,Efficient 9W,800 Lumens Non-Dimmable LED Bulbs,15000 Hours, Ideal for Bedroom Living Room

(2,127)
$7.89
FREE delivery Fri, Nov 14 on $35 of items shipped by Amazon
10K+ bought in past month
Loading...
DAYBETTER LED Strip Lights 130ft Lights Strip for Bedroom, Desk, Indoor Room Bedroom Brithday Gifts RGB Decor with Remote and 24V Power Supply

DAYBETTER LED Strip Lights 130ft Lights Strip for Bedroom, Desk, Indoor Room Bedroom Brithday Gifts RGB Decor with Remote and 24V Power Supply

(33,402)
$9.49
FREE delivery Thu, Sep 4 on $35 of items shipped by Amazon
10K+ bought in past month
Loading...
LIGHTAILING Light for Lego-75379 R2-D2 - Led Lighting Kit Compatible with Lego Building Blocks Model - NOT Included The Model Set

LIGHTAILING Light for Lego-75379 R2-D2 - Led Lighting Kit Compatible with Lego Building Blocks Model - NOT Included The Model Set

(27)
22.94
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35