Parameter handling (Native)

This page runs a series of a examples using default parameters, rest parameters, the spread operator and parameter destructuring in ECMAScript 6 without any transpilation. This means your browser must support ES6 parameter handling syntax in order to successfully run the code. Open up your debugging console to view the output.

Browser support: Traceur, Babel, Firefox, Edge, Chrome, Opera, Safari & Node

For more information on how parameter handling works and its level of support, check out the Parameter handling article that is part of the Learning ES6 series.

Source code | Babel example | Traceur example | Index of examples