Spread Operator

suggest change
function myFunction(x, y, z) { }
var args = [0, 1, 2];
myFunction(...args);

The spread syntax allows an expression to be expanded in places where multiple arguments (for function calls) or multiple elements (for array literals) or multiple variables are expected. Just like the rest parameters simply preface your array with ...

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Node.js v6 new features:
*Spread Operator

Table Of Contents
41cli
64ES6
80Node.js v6 new features