Hello geeks, today we are going to understand a very untouched, but important topic in JavaScript i.e. Event Loop. Believe me, after reading this blog completely, you will get a full understanding of the Event Loop and its working.

Prerequisites:

Well, to understand “Event Loop”, you just need to have a basic understanding of the JavaScript language.

Boiler Plate:

  1. Single-threaded synchronous language
  2. Blocking and Non-blocking statements
  3. Browser’s Web API’s

Let’s dive into these.

  1. Single-threaded synchronous language

As you all might know JavaScript is a single-threaded synchronous language. Well, what does that mean?
Single-threaded: It means JavaScript has only one Call Stack and one memory…

Vinayak Soni

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store