getRange()
Returns a range of numbers by the specified `step` from minimum to the given `value` of the specified `Range` object
Range.prototype.getRange()
Range.prototype.getRange()
The getRange()
method returns a range of numbers by the specified step
from minimum to the given value
of the specified Range
object.
range.class.ts
Parameters
Optional maximum range value of number
type of returned array
by default it's the maximum range.
Return type
Returns
The return value is a range of numbers of a read-only Array
from minimum to the given value
.
Example usage
Last updated