We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4415d2 commit ce351e6Copy full SHA for ce351e6
1 file changed
src/Angular.js
@@ -598,7 +598,8 @@ function isLeafNode (node) {
598
* * If no destination is supplied, a copy of the object or array is created.
599
* * If a destination is provided, all of its elements (for array) or properties (for objects)
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.
+ * * 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.
603
*
604
* Note: this function is used to augment the Object type in Angular expressions. See
605
* {@link ng.$filter} for more information about Angular arrays.
0 commit comments