ES 2019

Also known as ECMAScript 2019 or ES10


Array.flat

Returns a new array with any sub-arrays flattened.


Array.flatmap

Identical to map but also flattens as well.


String.trimStart

Trims white space from the start of a string.


String.trimEnd

Trims white space from the end of a string.


Try-Catch without Error Parameter

No longer have to provide an Error parameter to the Catch

try { 
}
catch {
}

Object.fromEntries

Creates an object or transforms key-value pairs into an object.


Symbol.description

A read-only description that returns the optional description of Symbol objects.



© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited TopPrevNext