summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/lodash/internal/arrayConcat.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/lodash/internal/arrayConcat.js')
-rw-r--r--tools/eslint/node_modules/lodash/internal/arrayConcat.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/tools/eslint/node_modules/lodash/internal/arrayConcat.js b/tools/eslint/node_modules/lodash/internal/arrayConcat.js
deleted file mode 100644
index 0d131e3999..0000000000
--- a/tools/eslint/node_modules/lodash/internal/arrayConcat.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * Creates a new array joining `array` with `other`.
- *
- * @private
- * @param {Array} array The array to join.
- * @param {Array} other The other array to join.
- * @returns {Array} Returns the new concatenated array.
- */
-function arrayConcat(array, other) {
- var index = -1,
- length = array.length,
- othIndex = -1,
- othLength = other.length,
- result = Array(length + othLength);
-
- while (++index < length) {
- result[index] = array[index];
- }
- while (++othIndex < othLength) {
- result[index++] = other[othIndex];
- }
- return result;
-}
-
-module.exports = arrayConcat;