Class: Range
Implements
Iterable
<number
>
Constructors
new Range()
new Range(
start
,stop
):Range
Parameters
• start: number
• stop: number
Returns
Defined in
Properties
length
readonly
length:number
Defined in
start
readonly
start:number
Defined in
stop
readonly
stop:number
Defined in
Methods
[iterator]()
[iterator]():
Iterator
<number
,any
,undefined
>
Returns
Iterator
<number
, any
, undefined
>
Implementation of
Iterable.[iterator]
Defined in
equals()
equals(
other
):boolean
Parameters
• other: unknown
Returns
boolean
Defined in
toString()
toString():
string
Returns a string representation of an object.
Returns
string