Hi Nadia,

What I had written was, JS is single threaded, but it doesn’t act like one. When we call async functions and use callbacks it doesn’t behave like a single threaded application and this is achieved with the help of Event Loop. In short the Event loop is part of this single thread.

Try going through the Concurrency Model in JS, it will help you better understand the event loop

--

--

JS Enthusiast, with a passion for travelling and writing.

Love podcasts or audiobooks? Learn on the go with our new app.

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
Abhimanyu Chauhan

Abhimanyu Chauhan

JS Enthusiast, with a passion for travelling and writing.

More from Medium

4 Word Short Empowering Quotes

Inspiration > Comparison

What are the Top 3 GoPro Mounts for Mountain Biking?

Technology in the Beauty Industry