Sitemap
Better Programming

Advice for programmers.

Member-only story

Twelve ES10 Features in Twelve Simple Examples

5 min readSep 23, 2019

--

Press enter or click to view image in full size

Today, we’re going to look at ECMAScript features from 2015:

ES10 is the version of ECMAScript corresponding to the year 2019. This version does not include as many new features as the ES6 release (2015). However, some useful features have been incorporated.

This article introduces the features provided by ES10 in easy code examples. In this way, you can quickly understand the new features without the need for a complex explanation.

Of course, it is necessary to have a basic knowledge of JavaScript to fully understand the best ones introduced.

The new JavaScript features in ES2019 are:

  • Array#{flat,flatMap}
  • Object.fromEntries
  • String#{trimStart,trimEnd}
  • Symbol#description
  • try { } catch {} // optional binding
  • JSON ⊂ ECMAScript
  • well-formed JSON.stringify

--

--

Carlos Caballero
Carlos Caballero

Written by Carlos Caballero

Hi! My name is Carlos Caballero and I’m PhD. in Computer Science from Málaga, Spain. Teaching developers and degree/master computer science how to be experts!