Expand _.assign doc example. [closes #819] [ci skip]

This commit is contained in:
John-David Dalton
2014-12-09 22:21:45 -08:00
parent a8e31469c5
commit 9b1c1774cd

View File

@@ -7933,7 +7933,7 @@
* @returns {Object} Returns the destination object.
* @example
*
* _.assign({ 'user': 'fred' }, { 'age': 40 }, { 'status': 'busy' });
* _.assign({ 'user': 'barney' }, { 'age': 40 }, { 'user': 'fred', 'status': 'busy' });
* // => { 'user': 'fred', 'age': 40, 'status': 'busy' }
*
* var defaults = _.partialRight(_.assign, function(value, other) {