← Back to release summary

Rest parameters (ES6)

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

Summary

Allows representation of an indefinite number of arguments as an array.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters

Samples: https://googlechrome.github.io/samples/rest-parameters-es6/index.html

View on chromestatus.com