> But not every browser supports hasOwnProperty. Safari doesn't. Does IE 5.5? > > In the "Object.prototype is verboten" article someone posted a comment with > code to implement object.hasOwnProperty, but the code isn't exactly speedy. > (And it has one bug - it should use === for the comparison instead of ==.) > > I wouldn't be too keen on adding this overhead to jQuery or my own code.
Aaaah, thanks Mike, I should've known better... I really thought Safari would support that, but I was a little to enthusiastic about that. IE 5.5 though does support it. -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/