forEachStep()
Performs the specified action for each step in the maximum range of an `Array`
Last updated
Was this helpful?
Performs the specified action for each step in the maximum range of an `Array`
Last updated
Was this helpful?
Range.prototype.forEachStep()
The forEachStep()
method performs the specified action for each step in the range of an .
forEachStep: (value:
number
, step:
number
, range: readonly
number
[]) => void
A function that accepts up to three arguments. It's called one time for each step in the range.
The return value is the instance.