diff --git a/src/core.js b/src/core.js index 81a920b8..d4a0e61b 100644 --- a/src/core.js +++ b/src/core.js @@ -446,10 +446,8 @@ jQuery.extend({ }, type: function( obj ) { - return obj === null ? - "null" : - obj === undefined ? - "undefined" : + return obj == null ? + String( obj ) : toString.call(obj).slice(8, -1).toLowerCase(); },