times
Iterates over a callback n
times
- Use
Function.prototype.call()
to callfn
n
times or until it returnsfalse
. - Omit the last argument,
context
, to use anundefined
object (or the global object in non-strict mode).
Iterates over a callback n
times
Function.prototype.call()
to call fn
n
times or until it returns false
.context
, to use an undefined
object (or the global object in non-strict mode).