Creates an array of numbers from 0 to end - 1 (one-arg form),
or from start to end inclusive (two-arg form, supports descending ranges).
When called with one argument: creates [0, end). When called with two arguments: the inclusive end of the range.
Creates an array of numbers from
0toend - 1(one-arg form), or fromstarttoendinclusive (two-arg form, supports descending ranges).