Micro and Macro tasks in JavaScript

Multithreading is what made great computing speeds possible. Today, it is a compulsory feature in all operating systems and programming languages. While even the old languages like C++ added built-in thread support in the somewhat latest updates, JavaScript remained stubborn.

But multithreading was needed in browsers nonetheless, so the concept of event loop is used to perform asynchronous functions in…

--

--

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