[dojo-contributors] Re: dojo.lang.isUndefined()

Dean Edwards dean at edwards.name
Thu Jun 29 20:33:01 EDT 2006

Scott J. Miles wrote:
>>> IE returns "unknown" for some typeof tests. At least they are honest. ;-)
> In that case, the dj_undef test should probably look like:
> return (!(name in object) || (typeof object[name] == "undefined"));

The |in| operator when used like the example above does not work for 
IE5.0 IIRC. Do you guys care about IE5.0? I'm assuming you do.


More information about the dojo-contributors mailing list