← Back to release summary

Object rest/spread properties

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

Summary

This introduces rest properties for object destructuring assignment and spread properties for object literals.

Standards & signals

Docs: https://developers.google.com/web/updates/2017/06/object-rest-spread https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Object_initializer#Spread_properties https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Spread_syntax#Spread_in_object_literals https://docs.google.com/document/d/1ZlhIAoZkaSddN6dXbebzNjXUA-oIEwzOd3dgoVejnK8/

Samples: http://www.2ality.com/2016/10/rest-spread-properties.html

View on chromestatus.com