With es2015, Object Literals get a fairly hefty set of new features that make data manipulation much more readable and succinct.

At the moment, not all of these features are available in all environments, but we’re not here to talk about feature support. Instead, we’re making the assumption that they are available in your environment or you’re using a tool like Babel to transform your JavaScript.

__proto__

Access to Object.prototype.__proto__ getters and setters is now standardized!

super

super provides access to properties on the prototype.

Shorthand Property Assignment

Putting the name of an object in an object literal without a corresponding colon and value will use the name of the object as the key and its value as the value.

Computed Property Names

Property names enclosed in square brackets are now computed.

Spreads

Spreads within object literals work similarly to Object.assign: all enumerable properties are applied to the new object with later declarations overwriting previous declarations.


Hopefully this gives you a running start with the new Object features in ES2015! If you have any questions, comments, or concerns, leave a comment!