W3C home > Mailing lists > Public > public-webapi@w3.org > May 2008

Re: [WEBIDL] [Undefined] sample

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 22 May 2008 21:22:50 +1000
To: "Web API WG (public)" <public-webapi@w3.org>
Message-ID: <20080522112250.GB29865@arc.mcc.id.au>

Anne van Kesteren:
> The example for [Undefined] should probably say [Null=Null,  
> Undefined=Null] because just saying [Undefined=Null] doesn't make much  
> sense.

Because why would you want undefined to map to null, but null to map to
"null"?  Or because undefined would map to null, which then would in
turn map to "null"?  (The latter isn’t my intention.)

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Thursday, 22 May 2008 11:23:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 22 May 2008 11:23:45 GMT