1 var baseForOwn = require('../internal/baseForOwn'),
2 createForOwn = require('../internal/createForOwn');
5 * Iterates over own enumerable properties of an object invoking `iteratee`
6 * for each property. The `iteratee` is bound to `thisArg` and invoked with
7 * three arguments: (value, key, object). Iteratee functions may exit iteration
8 * 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 * _.forOwn(new Foo, function(value, key) {
29 * // => logs 'a' and 'b' (iteration order is not guaranteed)
31 var forOwn = createForOwn(baseForOwn);
33 module.exports = forOwn;