JavaScript releases
This popularity has resulted in rapid development of JavaScript and related applications. Browsers can execute JavaScript faster and have more capabilities, such as interacting with peripherals, working with audio and video, and drawing 2D and 3D graphics for games.
In 2009, JavaScript received a major release: ECMAScript 5 (ES5), the first release in ten years. The next significant release (ES6) came in 2015, and since then, there has been an annual release.
Each release brings numerous improvements, with a focus on JavaScript's asynchronous capabilities. As applications grow larger and more complex, they need to remain fast and smooth. If only one task can be active at a time, actions must wait for each other.
A common problem with synchronous code is that fetching or processing data can make the entire UI (user interface) feel jerky or unresponsive. This happens because rendering (drawing the website) and executing JavaScript code run on the same process. When JavaScript is busy, the browser can't render, and vice versa.
This is where asynchronous JavaScript comes into play. Such problems can be avoided by using asynchronous functions. Although JavaScript remains synchronous, it's possible to let the browser handle some of the work without blocking JavaScript execution or rendering. Curious about how this works? Read on!