Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 8b56c08

Browse files
toddskinnerpkozlowski-opensource
authored andcommitted
docs(angular.copy): fix grammar
Closes #10459
1 parent 32eec67 commit 8b56c08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Angular.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ function arrayRemove(array, value) {
655655
* Creates a deep copy of `source`, which should be an object or an array.
656656
*
657657
* * If no destination is supplied, a copy of the object or array is created.
658-
* * If a destination is provided, all of its elements (for array) or properties (for objects)
658+
* * If a destination is provided, all of its elements (for arrays) or properties (for objects)
659659
* are deleted and then all elements/properties from the source are copied to it.
660660
* * If `source` is not an object or array (inc. `null` and `undefined`), `source` is returned.
661661
* * If `source` is identical to 'destination' an exception will be thrown.

0 commit comments

Comments
 (0)