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 @@ -598,7 +598,8 @@ function isLeafNode (node) {
598
598
* * If no destination is supplied, a copy of the object or array is created.
599
599
* * If a destination is provided, all of its elements (for array) or properties (for objects)
600
600
* are deleted and then all elements/properties from the source are copied to it.
601
- * * If `source` is not an object or array, `source` is returned.
601
+ * * If `source` is not an object or array (inc. `null` and `undefined`), `source` is returned.
602
+ * * If `source` is identical to 'destination' an exception will be thrown.
602
603
*
603
604
* Note: this function is used to augment the Object type in Angular expressions. See
604
605
* {@link ng.$filter} for more information about Angular arrays.
You can’t perform that action at this time.
0 commit comments