diff --git a/src/Angular.js b/src/Angular.js index 7803b9de..d81da8a1 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -221,6 +221,11 @@ function isArrayLike(obj) { * * It is worth noting that `.forEach` does not iterate over inherited properties because it filters * using the `hasOwnProperty` method. + * + * Unlike ES262's + * [Array.prototype.forEach](http://www.ecma-international.org/ecma-262/5.1/#sec-15.4.4.18), + * Providing 'undefined' or 'null' values for `obj` will not throw a TypeError, but rather just + * return the value provided. * ```js var values = {name: 'misko', gender: 'male'};