Generates a numeric range beginning at the specified start value.
Start value of the range.
Number of sequential values to produce.
A sequence of count integers starting from start.
count
Enumeration is deferred. When count is zero or negative, the resulting sequence is empty.
const numbers = range(1, 5).toArray();console.log(numbers); // [1, 2, 3, 4, 5] Copy
const numbers = range(1, 5).toArray();console.log(numbers); // [1, 2, 3, 4, 5]
Generates a numeric range beginning at the specified start value.