summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/lodash/internal/baseForIn.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/lodash/internal/baseForIn.js')
-rw-r--r--deps/npm/node_modules/lodash/internal/baseForIn.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/deps/npm/node_modules/lodash/internal/baseForIn.js b/deps/npm/node_modules/lodash/internal/baseForIn.js
new file mode 100644
index 0000000000..47d622c384
--- /dev/null
+++ b/deps/npm/node_modules/lodash/internal/baseForIn.js
@@ -0,0 +1,17 @@
+var baseFor = require('./baseFor'),
+ keysIn = require('../object/keysIn');
+
+/**
+ * The base implementation of `_.forIn` without support for callback
+ * shorthands and `this` binding.
+ *
+ * @private
+ * @param {Object} object The object to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {Object} Returns `object`.
+ */
+function baseForIn(object, iteratee) {
+ return baseFor(object, iteratee, keysIn);
+}
+
+module.exports = baseForIn;