Introduction to Asynchronous Language Features
An overview of JavaScript's single-threaded and asynchronous nature and how it simplifies runtime.
We'll cover the following...
JavaScript’s single-threaded and asynchronous nature
The JavaScript runtime, whether it is running in the browser or whether it is running on a server through Node, is single-threaded. This means that one, and only one, piece of code will be running at a particular time. This code runs in what is known as the main thread.
JavaScript has also been built around an asynchronous ...