From 3193a3a5af731a4773feadc23d91c5ab63ef9fda Mon Sep 17 00:00:00 2001 From: cnlevy Date: Wed, 19 Feb 2014 22:13:24 +0200 Subject: docs(core): add note that isObject returns true for arrays Closes #6353 --- src/Angular.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Angular.js') diff --git a/src/Angular.js b/src/Angular.js index 21595cd6..b2905ed9 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -445,7 +445,7 @@ function isDefined(value){return typeof value !== 'undefined';} * * @description * Determines if a reference is an `Object`. Unlike `typeof` in JavaScript, `null`s are not - * considered to be objects. + * considered to be objects. Note that JavaScript arrays are objects. * * @param {*} value Reference to check. * @returns {boolean} True if `value` is an `Object` but not `null`. -- cgit v1.2.3