_.assignIn(object, [sources])
functionFoo() { this.a=1; } functionBar() { this.c=3; } Foo.prototype.b=2; Bar.prototype.d=4; _.assignIn({ 'a': 0 }, newFoo, newBar); // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }
_.assignIn(object, [sources])
functionFoo() { this.a=1; } functionBar() { this.c=3; } Foo.prototype.b=2; Bar.prototype.d=4; _.assignIn({ 'a': 0 }, newFoo, newBar); // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }