aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index d909c8144..9efdc229e 100644
--- a/src/core.js
+++ b/src/core.js
@@ -407,7 +407,7 @@ jQuery.extend({
if ( obj == null ) {
return String( obj );
}
- return typeof obj === "object" || typeof obj === "function" ?
+ return typeof obj === "object" ?
class2type[ core_toString.call(obj) ] || "object" :
typeof obj;
},