Hello Readers, hope you're doing good. In this blog, we will try to understand the concept of Event loop which makes JavaScript asynchronous (remember that JS is a synchronous, single-threaded language). Before jumping to the event loop, you should h...

Markdown supported · ⌘↵ to post
Piyush Garg
MERN | Flutter | React Native
Woahh! 🚀 Great example!
setTimeout(function(){ console.log("Print this after 2 seconds"); },2000); function X(Y) { console.log("I am X"); Y(); } X(function Y() { console.log("I am Y"); })