Your Web News in One Place
August 13, 2019 02:32 pm GMT

All the New ES2019 Tips and Tricks

The ECMAScript standard has been updated yet again with the addition of new features in ES2019. Now officially available in node, Chrome, Firefox, and Safari you can also use Babel to compile these features to a different version of JavaScript if you need to support an older browser.

Lets look at whats new!

Object.fromEntries

In ES2017, we were introduced to Object.entries. This was a function that translated an object into its array representation. Something like this:

let students = 

Read article

The post All the New ES2019 Tips and Tricks appeared first on CSS-Tricks.


Original Link: https://css-tricks.com/all-the-new-es2019-tips-and-tricks/

Share this article:  Share on Twitter  Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks