Fix #13291, no longer need the functionish-regex guard.

This commit is contained in:
Dave Methvin 2013-01-26 20:31:37 -05:00
parent 47a6f52dc9
commit c4b1da4007

View File

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