On Jul 23, 12:53 am, "Rob Desbois" <[EMAIL PROTECTED]> wrote: ... > So theoretically: > > > if (typeof someUndefined == 'fuzzyDuck') > > should return true also. I won't try it now but see what happens!
It's turning my brain all wahoonie-shaped, but here's what it looks like: [EMAIL PROTECTED]:~$ SpiderApe -e "print(typeof someUndefined == 'fuzzyDuck')" false [EMAIL PROTECTED]:~$ SpiderApe -e "print(typeof someUndefined === 'fuzzyDuck')" false [EMAIL PROTECTED]:~$ SpiderApe -e "print(typeof someUndefined == 'undefined')" true [EMAIL PROTECTED]:~$ SpiderApe -e "print(typeof someUndefined == undefined)" false That's using the SpiderMonkey 1.6 engine, which is, AFAIK, ECMA compliant.