Re: IndexedDB: undefined parameters

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