It is a logical operator that returns its right-hand side operand when its left-hand side operand is null or undefined, and otherwise returns its left-hand side operand.
While ES2020 does not include as many features as they introduced in ES6, it has introduced a number of useful additions. In this article, I will discuss my favorite new features from ES2020. Looking at the top new features of ECMAScript 2020
The optional chaining operator ?. permits reading the value of a property located deep within a chain of connected objects. Optional chaining was introduced as part of the ES2020 standard. It changes the way we access the properties from the deep objects. Optional chaining makes your code look cleaner.
ES (ECMA Standard) defines the ECMAScript Language. Since the publication of the first edition in 1997, ECMAScript has grown to be one of the world’s most widely used general-purpose programming languages. It is best known as the language embedded in web browsers but has also been widely adopted for server and embedded applications.
The this keyword can be very confusing. This tutorial will help you understand how it works. You will learn about how this works in different contexts and environments. These contexts include global object, functions, object and class methods and events. You will also learn about globalThis, new feature added in ES2020.
This tutorial covers Promise.allSettled functionality introduced in ES2020. Also, Promise.all has been compared with Promise.allSettled in this tutorial.
When we write applications, calling properties or methods on a non-existing object can have fatal consequences for your program. This…
The latest release in the ECMAScript family is ES11, with some fresh and advanced feature sets to revolutionize the application development process.
Everything you need to know about the latest ES2020 features and how they got into the language.