ES2017 Features Every Programmer Should Know
Jun 4, 2021
ES8 or ES2017 is the eighth version of the JavaScript language specification created to offer new features and ways of working with JavaScript.
Object.Value ( )
Access all values of our object without any complication.Here’s an example:
Object.entries
Turn your object attribute in an array of attributes
String padding
This returns the passed string adding the pad and the beginning or in the end of it
Trailing commas
This a syntax change . It allows us to write a valid function declaration with comman in the end.