improve docs for angular.Object.copy

This commit is contained in:
Igor Minar 2011-04-07 12:48:14 -07:00
parent e5419db6c7
commit d517bcad5b

View file

@ -547,7 +547,8 @@ function isLeafNode (node) {
*
* @param {*} source The source to be used to make a copy.
* Can be any type including primitives, `null` and `undefined`.
* @param {(Object|Array)=} destination Optional destination into which the source is copied.
* @param {(Object|Array)=} destination Optional destination into which the source is copied. If
* provided, must be of the same type as `source`.
* @returns {*} The copy or updated `destination` if `destination` was specified.
*
* @example