On Feb 27, 2008, at 6:56 PM, Steven Mascaro wrote:

> 2008/2/28 Brendan Eich <[EMAIL PROTECTED]>:
>>>> function h({p:x,q:y} = {p:3,q:4}) [x,y]
>>>> h()
>>  3,4
>
> Unfortunately, it doesn't work when you want to specify a subset of
> the optional parameters. e.g.:
>
>>> h({p:1})
> 1,

True -- it's not the same as named parameters, for sure.

/be

_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to