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; },