Asynchronous JavaScript & EVENT LOOP from scratch 🔥 | Namaste JavaScript Ep.15

By Akshay Saini on youtube.com

More about this content:

In-depth explanation of Event Loop, Web APIs, MicroTask Callback Queue, and how JavaScript works asynchronously in the web browser. Understand how setTimeout works behind the scenes along with fetch and event listeners. You'll also find a lot of code examples along with a deep-dive explanation of the web APIs and how JavaScript code is executed asynchronously. The only request is to watch this Episode of Namaste JavaScript with full attention. 🙏 It took a lot of effort to create this video, do comment down and let me know if you find it helpful. My tech gear I use every day - http://google.peek.link/2pba 00:00 - Introduction 00:40 - How JS Engine Executes the Code using Call Stack 03:25 - Main Job of the Call Stack 03:51 - How does JavaScript perform async tasks 04:36 - Behind the Scenes in Browser 07:35 - Web APIs in JS 12:03 - How setTimeout Works behind the scenes in Browsers 16:09 - Event Loop & CallBack Queue in JS 18:59 - How Event Listeners Work in JS 23:43 - More about Event Loop 25:02 - Why do we need Event Loop 27:29 - How fetch() function works 30:26 - MicroTask Queue in JS 36:01 - What are MicroTasks in JS? 38:35 - Starvation of Functions in Callback Queue 39:48 - Teaser of the Next Video 40:53 - Thank you for watching Namaste JavaScript 🙏 Support this video series, NOT BY MONEY, but by sharing it with your friends. 🙏 I'll give my best to come up with great content and everything absolutely for free on YouTube. 😊 If you are active on Social Media, please give a shoutout to Namaste JavaScript and help me reach more people. 🙏 Cheers, Akshay Saini http://akshaysaini.in Would love to Stay Connected 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 #NamasteJS #AkshaySaini