1 var baseFor = require('../internal/baseFor'),
2 createForIn = require('../internal/createForIn');
5 * Iterates over own and inherited enumerable properties of an object invoking
6 * `iteratee` for each property. The `iteratee` is bound to `thisArg` and invoked
7 * with three arguments: (value, key, object). Iteratee functions may exit
8 * iteration early by explicitly returning `false`.
13 * @param {Object} object The object to iterate over.
14 * @param {Function} [iteratee=_.identity] The function invoked per iteration.
15 * @param {*} [thisArg] The `this` binding of `iteratee`.
16 * @returns {Object} Returns `object`.
24 * Foo.prototype.c = 3;
26 * _.forIn(new Foo, function(value, key) {
29 * // => logs 'a', 'b', and 'c' (iteration order is not guaranteed)
31 var forIn = createForIn(baseFor);
33 module.exports = forIn;