Generates a range of numbers, starting from start and counting by interval. If end is provided, generator stops when reached
start
interval
end
Unlike numericRange, numbers might contain rounding errors
for (const c of numericRangeRaw(10, 100)) { // 100, 110, 120 ...} Copy
for (const c of numericRangeRaw(10, 100)) { // 100, 110, 120 ...}
Get results as an array
const c = [...numericRangeRaw(1,0,5)]; // [0,1,2,3,4] Copy
const c = [...numericRangeRaw(1,0,5)]; // [0,1,2,3,4]
Interval between numbers
Start
Optional
End (if undefined, range never ends). Inclusive.
Generates a range of numbers, starting from
startand counting byinterval. Ifendis provided, generator stops when reachedUnlike numericRange, numbers might contain rounding errors
Get results as an array