Homejavascript Generate range of numbers with JavaScript byAlex R. •August 30, 2018 With Lodash it can be done easily by _.range However with plain JavaScript the most simple solution would be using Array.from which is available since ES6. Array.from(new Array(n), (_val, index)=> index + start) Tags javascript Facebook Twitter