File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -578,7 +578,8 @@ function isLeafNode (node) {
578
578
* * If no destination is supplied, a copy of the object or array is created.
579
579
* * If a destination is provided, all of its elements (for array) or properties (for objects)
580
580
* are deleted and then all elements/properties from the source are copied to it.
581
- * * If `source` is not an object or array, `source` is returned.
581
+ * * If `source` is not an object or array (inc. `null` and `undefined`), `source` is returned.
582
+ * * If `source` is identical to 'destination' an exception will be thrown.
582
583
*
583
584
* Note: this function is used to augment the Object type in Angular expressions. See
584
585
* {@link ng.$filter} for more information about Angular arrays.
You can’t perform that action at this time.
0 commit comments