diff options
| author | Mehul Patel | 2014-01-13 15:19:12 -0800 |
|---|---|---|
| committer | Igor Minar | 2014-01-13 16:31:42 -0800 |
| commit | c61be8d0e6bb1bf7aed249bd2f653c0e0483683e (patch) | |
| tree | e0958ea4a365d96d549a7f4dd74423c33bdfaae3 /src/Angular.js | |
| parent | 465212835f1bbd81a2872015a543cbb1bc585e2e (diff) | |
| download | angular.js-c61be8d0e6bb1bf7aed249bd2f653c0e0483683e.tar.bz2 | |
docs(angular.forEach): specifies that .forEach filters using .hasOwnProperty
Closes #5180
Closes #5776
Diffstat (limited to 'src/Angular.js')
| -rw-r--r-- | src/Angular.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Angular.js b/src/Angular.js index 11ce5cf5..f30e5a26 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -192,6 +192,9 @@ function isArrayLike(obj) { * is the value of an object property or an array element and `key` is the object property key or * array element index. Specifying a `context` for the function is optional. * + * It is worth nothing that `.forEach` does not iterate over inherited properties because it filters + * using the `hasOwnProperty` method. + * * Note: this function was previously known as `angular.foreach`. * <pre> |
