mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-26 06:39:27 +08:00
Add node modules and new code for release (#168)
Co-authored-by: OliverMKing <OliverMKing@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ca8d2604ac
commit
a0f00e5017
+11
@@ -0,0 +1,11 @@
|
||||
var _optimizeCb = require('./_optimizeCb.js');
|
||||
|
||||
// Run a function **n** times.
|
||||
function times(n, iteratee, context) {
|
||||
var accum = Array(Math.max(0, n));
|
||||
iteratee = _optimizeCb(iteratee, context, 1);
|
||||
for (var i = 0; i < n; i++) accum[i] = iteratee(i);
|
||||
return accum;
|
||||
}
|
||||
|
||||
module.exports = times;
|
||||
Reference in New Issue
Block a user