Sha256: a97678e2372d7dda0e9aed2c7db0f0155b6f3d9a4aaa06fa54c2dcd192068e37
Contents?: true
Size: 301 Bytes
Versions: 69
Compression:
Stored size: 301 Bytes
Contents
/** * Iterates over a callback a set amount of times */ function times(n, callback, thisObj){ var i = -1; while (++i < n) { if ( callback.call(thisObj, i) === false ) { break; } } } module.exports = times;
Version data entries
69 entries across 69 versions & 2 rubygems