The ES2018 Guide: Features and Upgrades Explained

ECMAScript, often abbreviated as ES, serves as the standard on which JavaScript is based. The latest version of this standard is ES2018, also known as ES9. In this guide, we will explore the new features and upgrades introduced in ES2018. Rest/Spread Properties ES6 introduced the concept of the rest element for array destructuring and spread elements for spreading array elements. ES2018 extends this concept to objects. Rest properties allow you to extract and assign the remaining properties of an object to a new object:...