summaryrefslogtreecommitdiff
path: root/alarm/node_modules/lodash/_copyArray.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/lodash/_copyArray.js')
-rw-r--r--alarm/node_modules/lodash/_copyArray.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/alarm/node_modules/lodash/_copyArray.js b/alarm/node_modules/lodash/_copyArray.js
deleted file mode 100644
index cd94d5d..0000000
--- a/alarm/node_modules/lodash/_copyArray.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * Copies the values of `source` to `array`.
- *
- * @private
- * @param {Array} source The array to copy values from.
- * @param {Array} [array=[]] The array to copy values to.
- * @returns {Array} Returns `array`.
- */
-function copyArray(source, array) {
- var index = -1,
- length = source.length;
-
- array || (array = Array(length));
- while (++index < length) {
- array[index] = source[index];
- }
- return array;
-}
-
-module.exports = copyArray;