mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
improve docs for angular.Object.copy
This commit is contained in:
parent
e5419db6c7
commit
d517bcad5b
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue