Clarify _.isFunction fallback note. [ci skip]

This commit is contained in:
John-David Dalton
2014-11-14 19:16:14 -08:00
parent f9ce45c058
commit 9e01cc5705

View File

@@ -7415,8 +7415,8 @@
isFunction = function(value) {
// The use of `Object#toString` avoids issues with the `typeof` operator
// in older versions of Chrome and Safari which return 'function' for
// regexes and modern Safari which returns 'object' for typed array
// constructors.
// regexes and Safari 8 equivalents which return 'object' for typed
// array constructors.
return toString.call(value) == funcClass;
};
}