From 1e44a2d516c6188c5f0790e893a8eaaef89b55d6 Mon Sep 17 00:00:00 2001 From: Todd Skinner Date: Mon, 15 Dec 2014 01:13:43 -0800 Subject: [PATCH] docs(angular.copy): Grammar correction Add a "s" after "for array" in parentheses Before: If a destination is provided, all of its elements (for array) or properties (for objects) After: If a destination is provided, all of its elements (for arrays) or properties (for objects) --- src/Angular.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Angular.js b/src/Angular.js index d998b0f4fb05..85cd602aa209 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -655,7 +655,7 @@ function arrayRemove(array, value) { * Creates a deep copy of `source`, which should be an object or an array. * * * If no destination is supplied, a copy of the object or array is created. - * * If a destination is provided, all of its elements (for array) or properties (for objects) + * * If a destination is provided, all of its elements (for arrays) or properties (for objects) * are deleted and then all elements/properties from the source are copied to it. * * If `source` is not an object or array (inc. `null` and `undefined`), `source` is returned. * * If `source` is identical to 'destination' an exception will be thrown.