problem with use of null in jQuery.speed

problem with use of null in jQuery.speed


recently had a problem here ... on line 3968 of jquery.js
    speed: function(speed, easing, fn) {
        var opt = typeof speed === "object" ? speed : { ....
the trouble is that speed was "null" rather than "undefined" and
typeof null is "object", resulting in
(opt == null) => true , which throws errors on the following lines.
perhaps
        var opt = (speed && typeof speed === "object") ? speed : { ....
Cheers
weepy