Make isArrayLike use isFunction.

This commit is contained in:
John-David Dalton
2015-10-04 14:09:25 -07:00
parent 4bef0e21e7
commit 592824781c
2 changed files with 7 additions and 2 deletions

View File

@@ -8662,7 +8662,7 @@
*/
function isArrayLike(value) {
return value != null &&
!(typeof value == 'function' && objToString.call(value) == funcTag) && isLength(getLength(value));
!(typeof value == 'function' && isFunction(value)) && isLength(getLength(value));
}
/**