sajad torkamani

In a nutshell

The event loop’s job is to continuously monitor the callback queue and the call stack. If the call stack is empty, it pushes the first item in the queue onto the stack.

The event loop is always running in the background. It’s one component of a JavaScript environment.

Sources

Tagged: JavaScript