Skip to content logo

Illustrated Notes

A Fresh Serving of JavaScript ES2019

Published or updated on June 23, 2019

Fresh new Javascript ES2019

The latest language update from the TC39 committee - the people who govern the JS language

A new version of JavaScript has landed!

Every year JavaScript gets a handful of new features and functions for everyone to play with.

The TC39 committee have now released the 2019 additions to ECMAScript, which is the generally accepted version of JavaScript we all know and love tolerate.

You can take a look at the TC39 Github to track the progress of proposed features, including all the ones they've accepted into the official language.

Mike Sherov just put together a new egghead course on Javascript ES2019 in Practice which is a good summary of all the new shiny bits, as well as how they apply in IRL dev situations.

Javascript ES2019 Course Illustration

I drew up my own notes on the 7 big changes:

  • Optional Catch Binding
  • Stable array.sort()
  • Flatten Arrays with flat()
  • Flatten & Map Arrays with flatMap()
  • Cut out Whitespace with trimStart() & trimEnd()
  • Descriptions on Symbols
  • Create Objects from Entries with fromEntries()

Optional Catch Binding

Stable array.sort

Flatten Arrays with flat

Flatten & Map Arrays with flatMap

Cut out Whitespace with trimStart & trimEnd

Descriptions on Symbols

Create Objects from Entries with fromEntries

Note that the space theme going on here has less to do with ES2019 and more to do with me watching Apollo 11 last week.
(Five stars, would recommend).

The Whole Illustrated Note

The full JavaScript ES2019 illustrated note

Want to learn more?

A high-res & printable version of the notes, plus the full course is avaliable here on the Javascript ES2019 in Practice page.