summaryrefslogtreecommitdiff
path: root/school/node_modules/lodash/_baseZipObject.js
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/lodash/_baseZipObject.js')
-rw-r--r--school/node_modules/lodash/_baseZipObject.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/school/node_modules/lodash/_baseZipObject.js b/school/node_modules/lodash/_baseZipObject.js
deleted file mode 100644
index 401f85b..0000000
--- a/school/node_modules/lodash/_baseZipObject.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * This base implementation of `_.zipObject` which assigns values using `assignFunc`.
- *
- * @private
- * @param {Array} props The property identifiers.
- * @param {Array} values The property values.
- * @param {Function} assignFunc The function to assign values.
- * @returns {Object} Returns the new object.
- */
-function baseZipObject(props, values, assignFunc) {
- var index = -1,
- length = props.length,
- valsLength = values.length,
- result = {};
-
- while (++index < length) {
- var value = index < valsLength ? values[index] : undefined;
- assignFunc(result, props[index], value);
- }
- return result;
-}
-
-module.exports = baseZipObject;