Re: Design of the Window test suite (was Re: Window 1.0 test suite)

Maciej Stachowiak:
> shouldBeFalse("typeof window == 'null'");

The typeof operator never returns "null".  (Actually it could, since
applying typeof to a host object could return any string, but I guess
that's unlikely.)  Maybe this should be:

  shouldBeFalse("window === null");

-- 
 Cameron McCormack			ICQ: 26955922
 cam (at) mcc.id.au			MSN: cam (at) mcc.id.au
 http://mcc.id.au/			JBR: heycam (at) jabber.org

Received on Monday, 20 March 2006 23:15:44 UTC