Meaning Of Asynchronous Javascript
Using async javascript you can perform large functions without blocking the main thread of javascript.
Meaning of asynchronous javascript. Javascript can have asynchronous code but it is generally single threaded. Note that asynchronous does not mean the same thing as concurrent or multi threaded. This may not look like a big problem but when you see it in a bigger picture you realize that it may lead to delaying the user interface.
This form of javascript is much preferred by the web design community as it allows for faster load times and prevents pages from being hung while waiting for a single action to complete. In a synchronous order. This is like a restaurant with a single worker who does all of the waiting and cooking.
Synchronous javascript as the name implies means in a sequence or an order. If you are not familiar with the concept of asynchronous programming you should definitely start with the general asynchronous programming concepts article in this module. Asynchronous code allows the program to be executed immediately where the synchronous code will block further execution of the remaining code until it finishes the current one.