- From: Cameron McCormack <cam@mcc.id.au>
- Date: Tue, 21 Mar 2006 10:15:40 +1100
- To: "Web APIs WG (public)" <public-webapi@w3.org>
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