Languages
[Edit]
EN

JavaScript - Describe the difference between synchronous and asynchronous JavaScript?

13 points
Created by:
Root-ssh
68440

In synchronous javascript, VM waits until each operation execution will not be completed. After each operation, next one can be executed. It stops the program until action will take.
In asynchronous javascript, VM never waits for operation execution will be completed allowing to execute other operations at the same time. After the result of the asynchronous operation will be handled once asynchronous operation will finish execution returning result - the program is informed and gets access to the result. Results of async operation are received in event loop that solves problems that could appear with multithreading programming. 

Native Advertising
50 000 ad impressions - 449$
🚀
Get your tech brand or product in front of software developers.
For more information contact us:
Red dot
Dirask - friendly IT community for everyone.

❤️💻 🙂

Join