Spread Operator -11

It shows creating array of N numbers using ES6 spread operator

by Varun Sukheja

JavaScript 1.7

let arr = [...Array(10).keys()]
console.log('new array',arr);