Es10 tutorials

Es10, also known as ECMAScript 2019, is the most recent javascript language to be released in 2019.

ES10. 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 with programming experience required.

Latest ES10 Features

The following is the list of latest javascript features in 2019.

Feature Description
BigInt primitive Type Introduced BigInt to accommodates arbitary precission data
Dynamic Import Imports modules at runtime or conditional expression
well formed JSON stringify JSON stringify is enhanced to support unicode characters
Array.Flat[flatMap] method Introduced Flat methods in Array
String.trimStart[trimEnd,matchAll] Trim start and end methods
Object.fromEntries fromEntries in object supports
Standardized globalThis object Enables Unified access to global object across multiple devices
Function.prototype.toString toString is new method introduced
Symbol.prototype.description description property introduced to debug symbol objects
Optional catch binding Allows to optional catch binding