← Back to release summary

Computed Property Names (ES6)

Category
JavaScript
Type
New or changed feature
Status
Enabled by default (Chrome 44)
Intent stage
None

Summary

Allows expression for property names in object literals and class literals

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer#Computed_property_names

Samples: https://github.com/GoogleChrome/samples/tree/gh-pages/computed-properties-es6

View on chromestatus.com