[thelist] does JavaScript have an equivalent to IsDefined()?

Sarah poohbear at designshift.com
Tue Sep 23 11:31:34 CDT 2003

>Doh... typo:
>if ( typeof Request.QueryString('id').Item == 'undefined' )

Hmmm... Now I've got two possibilities that both work:
   if (Request.QueryString('id').Item != undefined)
   if (typeof Request.QueryString('id').Item != 'undefined')

Can someone tell me if one of these is more "correct" (or reliable) than 
the other?


More information about the thelist mailing list