Create an array of numbers (positive and/or negative) progressing from start up to but not including end by advancing by step.
start
end
step
If start is less than end a zero-length range is created unless a negative step is specified.
Certain values for start and end (eg. NaN/undefined/null) are currently coerced to 0; for forward compatibility make sure to pass in actual numbers.
Optional
The start of the range. Default 0.
The end of the range. Default null.
The value to increment or decrement by. Default 1.
Create an array of numbers (positive and/or negative) progressing from
startup to but not includingendby advancing bystep.If
startis less thanenda zero-length range is created unless a negativestepis specified.Certain values for
startandend(eg. NaN/undefined/null) are currently coerced to 0; for forward compatibility make sure to pass in actual numbers.