Rest...params: number[]Protected_lengthAlias of nth.
Returns the number at index in this range. index can be negative to access indices starting from the end.
Alias of includes.
Returns true if n is inside of this range.
ProtectediReadonlystartThe start of this range of numbers (inclusive).
ReadonlystepEach iteration is increased by this amount.
Protected ReadonlystepThe sign of step.
ReadonlystopThe stop/end point of this range of numbers (exclusive).
Returns true if this range is equal to another.
A class for representing a range of numbers and also iterating through them. When
next.doneis true, resets the internal counter back tostart.