W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2012

Re: IndexedDB: undefined parameters

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 10 Oct 2012 21:22:43 -0400
Message-ID: <50761F63.4060607@mit.edu>
To: Boris Zbarsky <bzbarsky@mit.edu>
CC: Jonas Sicking <jonas@sicking.cc>, Robert Ginda <rginda@chromium.org>, Alec Flett <alecflett@chromium.org>, public-webapps@w3.org, "public-script-coord@w3.org" <public-script-coord@w3.org>
On 10/10/12 9:12 PM, Boris Zbarsky wrote:
> Note that all this affects openCursor and the like only tangentially,
> because those take an "any" type and hence have to do type introspection
> anyway.

And in particular, "any" can represent undefined directly, so the callee 
can simply look to see whether undefined was passed.

-Boris
Received on Thursday, 11 October 2012 01:23:12 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:55 GMT