DEV Community

Discussion on: JS illustrated: The event loop 🔁

Collapse
 
amineamami profile image
amineamami • Edited

Hmm, it seemed to me just like synchronous execution with a bit of instructions reordering.

Thread Thread
 
kapantzak profile image
John Kapantzakis • Edited

Thats right! Javascript language itself does not have any asynchrony built in.
The environment (browser, node etc) is the one that arranges the events resulting in asynchronous execution (the use o callbacks, promises, ajax calls etc)