Bump to v3.3.0.

This commit is contained in:
jdalton
2015-02-20 00:25:55 -08:00
parent b82c7ebc32
commit ebf61a1bd9
91 changed files with 399 additions and 184 deletions

View File

@@ -16,10 +16,17 @@ import bindCallback from '../internal/bindCallback';
* @returns {Object} Returns `object`.
* @example
*
* _.forOwn({ '0': 'zero', '1': 'one', 'length': 2 }, function(n, key) {
* function Foo() {
* this.a = 1;
* this.b = 2;
* }
*
* Foo.prototype.c = 3;
*
* _.forOwn(new Foo, function(value, key) {
* console.log(key);
* });
* // => logs '0', '1', and 'length' (iteration order is not guaranteed)
* // => logs 'a' and 'b' (iteration order is not guaranteed)
*/
function forOwn(object, iteratee, thisArg) {
if (typeof iteratee != 'function' || typeof thisArg != 'undefined') {