diff options
Diffstat (limited to 'deps/npm/node_modules/lodash/internal/baseFor.js')
-rw-r--r-- | deps/npm/node_modules/lodash/internal/baseFor.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/deps/npm/node_modules/lodash/internal/baseFor.js b/deps/npm/node_modules/lodash/internal/baseFor.js new file mode 100644 index 0000000000..94ee03f925 --- /dev/null +++ b/deps/npm/node_modules/lodash/internal/baseFor.js @@ -0,0 +1,17 @@ +var createBaseFor = require('./createBaseFor'); + +/** + * The base implementation of `baseForIn` and `baseForOwn` which iterates + * over `object` properties returned by `keysFunc` invoking `iteratee` for + * each property. Iteratee functions may exit iteration early by explicitly + * returning `false`. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {Function} keysFunc The function to get the keys of `object`. + * @returns {Object} Returns `object`. + */ +var baseFor = createBaseFor(); + +module.exports = baseFor; |