Callback Functions, Event Listeners, and Event Loop in JavaScript.
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...
deepkiran.hashnode.dev6 min read
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"); })