Spread operator
6
With ES6, you can use spreads to separate individual elements into a comma-separated syntax:
let arr = [1, 2, 3, ...[4, 5, 6]]; // [1, 2, 3, 4, 5, 6]
// in ES < 6, the operations above are equivalent to
arr = [1, 2, 3];
arr.push(4, 5, 6);
The spread operator also act...