As we near the finalization of the proposal, it’s looking like ES8 is going to deliver much more than the simple updates of its ES7 predecessor! We wanted to take a few moments to highlight our 5 favorite things about the upcoming 2017 release.
1. Object.entries and Object.values
This change is one we’re very excited about, and something we’ve already shimmed in Dojo 2.
When an object is used as a hash filter, you often need to know the values of an object. This standardizes an approach found in most libraries and toolkits.
Similarly, it is often useful for iteration or serialization to have an array of key/value pairs from an object, or its entries. With the ES6 Map constructor accepting an iterable of entries, and its associated entries iterator, this makes it easier to convert a plain object to a Map via passing entries to the Map constructor.
... read the whole story at www.sitepen.com.