I will explain synchronous (sync) and asynchronous (async) in practical terms only. In synchronous process we do tasks one at a time. In asynchronous process, if we ever encounter long task which do not require our full attention, instead of waiting for the task to be completed, we do other stuffs first. I will use NodeJS to run Javascript as examples in this story.

7m read timeFrom blog.devgenius.io
Post cover image
Table of contents
Asynchronous Javascript Practical ExplanationLet’s code already!Async/ AwaitPromise.all
3 Comments

Sort: