Async javaScript

Perfect people don't drink, don't fight, don't lie, don't make mistakes and...don't exist

Paulo Coelho

Asynchronous javaScript - MDN Web Docs

Asynchronous programming is a technique that enables your program to start a potentially long-running task and still be able to be responsive to other events while that task runs, rather than having to wait until that task has finished. Once that task has finished, your program is presented with the result.

Many functions provided by browsers, especially the most interesting ones, can potentially take a long time, and therefore, are asynchronous.

Welcome to Asynchronous javaScript