Es11
, also known as ECMAScript 2020
, is the most recent javascript
language to be released in 2020.
ES11
. TC39 is the approving committee to add features to javascript. The same features already ported to javascript engines like V8(Nodejs) and spidermonkey
.
Prerequisite
Basic Javascript is required
Latest ES11 or ECMAScript2020 Features in javascript
The following is the list of latest javascript features in 2020.
Feature | Description |
---|---|
Promise.allSettled |
allSettled used to know the result of promises fullfilled or rejected |
Nullish Coalescing Operator |
Imports modules at runtime or conditional expression |
Optional Chaining Operator |
JSON stringify is enhanced to support unicode characters |
Private Class variables |
private variables introduced for internal use |