- From: Brendan Eich <brendan@mozilla.org>
- Date: Wed, 10 Oct 2012 19:15:03 -0700
- 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!
/be
Received on Thursday, 11 October 2012 02:15:39 UTC