Asynchronous JavaScript & EVENT LOOP from scratch 🔥

Asynchronous JavaScript & EVENT LOOP from scratch 🔥

Asynchronous JavaScript & EVENT LOOP from scratch 🔥 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.

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.

  • 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 🙏

javascript programming developer web-development

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Why Web Development is Important for your Business

With the rapid development in technology, the old ways to do business have changed completely. A lot more advanced and developed ways are ...

Important Reasons to Hire a Professional Web Development Company

    You name the business and I will tell you how web development can help you promote your business. If it is a startup or you seeking some...

Top Web Development Company in India

We are the best offshore web development company in India providing web applications on Blockchain, AI & Chatbots. 15+ Yrs Exp., Save upto 60% on development.

Hire Best JavaScript Developers | JavaScript development company USA

Hire Dedicated JavaScript Developers from a top javascript development agency for your business solutions. We provide JS web developers for hire at a fixed or hourly rate.

Temporal Dead Zone in JavaScript Explained (TDZ)

Temporal dead zone in JavaScript (TDZ) is one of the topics every JavaScript developer should know. This tutorial will teach you all you need to know about it. You will learn what temporal dead zone in JavaScript is and how it works. You will also learn about scope and variable declaration and initialization.