Prominent Features of ES6

ES6 comes up now with a great amount of goodies & the vendor of the browsers worked hard from the past year in order to get the language updates into their browsers. Some of the available language updates will bring joy to everyone’s face. Amongst them following six are newly added to this.

  1. Object[key] setting syntax

It allows adding the value/key after the original declaration:

// *Very* reduced example

let myKey = ‘key3′;

let obj = {

key1: ‘One’,

key2: ‘Two’ More