To understand that, we first need to understand synchronous and asynchronous behaviour Synchronous: Javascript executes code line by line, and it waits for one line to finish before moving to the next ...