How we built it

Default parameters (ES6)

Allows formal parameters to be initialized with default values if no value (or 'undefined') is passed.

Demo

Documentation

Specification

Established standard

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 49
  • Chrome for Android release 49
  • Opera release 36
  • Opera for Android release 36

Consensus & Standardization

Owner

Last updated on 2016-01-28