new-range

Returns an array of nums from start to end.

Returns an array of nums from start to end

$ npm install new-range
range(10, 15)
// => 10, 11, 12, 13, 14 
 
range(5)
// => 0, 1, 2, 3, 4