Event Loop

While learning JavaScript, you might’ve heard that JS is a single-threaded language. You also might’ve heard that JS is asynchronous. These two statements probably left you thinking “Wait, what? JS can’t really be asynchronous with just one thread, right?”. Let’s look into how this works.