This site runs best with JavaScript enabled.

A Fresh Serving of JavaScript ES2019


Evergreen
🌳
Last tended Jun 23, 2019
Web Development
JavaScript
Illustrated Notes

New features in JavaScript ES2019

A new version of JavaScript has landed!

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

The

have 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

to track the progress of proposed features, including all the ones they've
accepted into the official language
.

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

  • 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()

Gifts in the latest language update from the TC39 committee
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

These notes are all based off Mike Sherov's egghead course on

which is a good summary of all the new shiny bits, as well as how they apply in IRL dev situations.

JavaScript ES2019 in Practice

Want more illustrated notes on web development?

Take a look at

,
What the Fork is Babel?
or
JavaScript's ...spread Operator

Linked References

Testing Apps with Cypress

Illustrated notes on Brett Cassette 's egghead course all about testing apps with Cypress.io . Want more illustrated notes on web development? Take a look at The JAMStack, Gatsby & Contentful , A…

Speaking the GraphQL Query Language

GraphQL is undoubtedly one of the popular kids on the Web Development playground right now. If you haven't heard of GraphQL, the TLDR is that it's a new way to request data from an API. If you're…

Immutable Data with Immer and Personal Assistant Bots

Let's talk about immutable data With socks. And personal assistant bots. I know, you're already so excited. Immutability and state are two developer buzzwords it took me forever to "get." Their…

JSX is a Lovechild

If you've had the pleasure of trying to stumble your way through learning React, you'll have been through the adjustment phase with JSX. Putting HTML and JS side-by-side feels like it's violating the…

Instachatting with Vue & Socket.io

The intantness of chat apps has always been a mystery to me. The technical details of moving emojis through The Internet Pipes and across continents in 0.004 miliseconds is well beyond my paygrade…

Defend Your Cookies with Essential Web Security Tactics

Between IoT botnet attacks, Bitcoin ransomware, and the weekly cadence of high-profile data breaches, doing anything on the internet feels like playing Russian Roulette. And that's just for normal…

Want to share?

Join the newsletter

For weekly notes on visual thinking, ethical technology, and cultural anthropology.

Maggie Appleton © 2022