aboutsummaryrefslogtreecommitdiff
path: root/node_modules/async/internal/slice.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/async/internal/slice.js')
-rw-r--r--node_modules/async/internal/slice.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/node_modules/async/internal/slice.js b/node_modules/async/internal/slice.js
deleted file mode 100644
index 56f10c03e..000000000
--- a/node_modules/async/internal/slice.js
+++ /dev/null
@@ -1,16 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = slice;
-function slice(arrayLike, start) {
- start = start | 0;
- var newLen = Math.max(arrayLike.length - start, 0);
- var newArr = Array(newLen);
- for (var idx = 0; idx < newLen; idx++) {
- newArr[idx] = arrayLike[start + idx];
- }
- return newArr;
-}
-module.exports = exports["default"]; \ No newline at end of file