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

Re: IndexedDB: undefined parameters

From: Brendan Eich <brendan@mozilla.org>
Date: Wed, 10 Oct 2012 19:15:03 -0700
Message-ID: <50762BA7.9010307@mozilla.org>
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>
Boris Zbarsky wrote:
> Should "undefined", when provided for a dictionary entry, also be 
> treated as "not present"?  That is, should passing a dictionary like so:
>   { a: undefined }
> be equivalent to passing a dictionary that does not contain "a" at all?

ES6 says no. That's a bridge too far. Parameter lists are not objects!

Received on Thursday, 11 October 2012 02:15:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:07 UTC