bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/JavaScript/Debugging, Projects, and Reference
JavaScript•Debugging, Projects, and Reference

ECMAScript 2019

Concept visual

ECMAScript 2019

Graph traversalgraph
ABCDE
current
queued
1
4

Start from A

New Features in JavaScript 2019

Feature

Description

String trimStart()

Removes whitespace from the start of a string

String trimEnd()

Removes whitespace from the end of a string Object.fromEntries

Creates an object from key/value pairs

Optional catch binding

Allows to omit the catch parameter if it is not needed

Array flat()

Creates a new array by flattening a nested array

Array flatMap()

Maps all array elements and creates a new array by flattening the array

Revised Array sort()

Browsers must now use a stable sorting algorithm Revised JSON.stringify()

Formula

Strings with UTF - 8 code points now convert safely

Separator symbols in strings

Line and paragraph separators (\u2028 and \u2029) are now allowed in strings Revised Function.toString() Now returns source code including comments and spaces and syntax details

Browser Support

ECMAScript 2019 is supported in all modern browsers since

January 2020

Chrome

66

Edge

79

Firefox

61

Safari

12

Opera

50

Apr 2018

Jan 2020

Jun 2018

Sep 2018

May 2018

JavaScript String trimStart()

Previous

ECMAScript 2020

Next

ECMAScript 2018