Returns an array of incrementing values starting at begin and incrementing by one for length.
begin
length
E.g.: range(3) → [0, 1, 2] and range(3, 1) → [1, 2, 3]
range(3)
[0, 1, 2]
range(3, 1)
[1, 2, 3]
the number of elements in the array
the index at which the range starts (default: 0)
0
Generated using TypeDoc
Returns an array of incrementing values starting at
begin
and incrementing by one forlength
.E.g.:
range(3)
→[0, 1, 2]
andrange(3, 1)
→[1, 2, 3]