summaryrefslogtreecommitdiff
path: root/build/es/times.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/es/times.js')
-rw-r--r--build/es/times.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/es/times.js b/build/es/times.js
new file mode 100644
index 0000000..da2b31f
--- /dev/null
+++ b/build/es/times.js
@@ -0,0 +1,8 @@
+'use strict';
+
+import map from './map';
+import range from 'lodash-es/internal/baseRange';
+
+export default function (count, iterator, callback) {
+ map(range(0, count, 1), iterator, callback);
+}