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.

We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Accept