filmov
tv
[CwJ] An example to explain execution flow of synchronous, asynchronous code | JS

Показать описание
we know about the synchronous and asynchronous code, we may have heard of "Micro task" and "Macro task". However, it will be easy to explain the execution order just by a simple example, here let us put Promise, Async, and SetTimeout as well as synchronous code together to see who goes first and who goes last.😄😄😄