Iterating default function arguments

Robin Cafolla robin at zombiemongoose.com
Wed Mar 25 17:03:42 UTC 2015


Oops. Sorry about that.

On 25 March 2015 at 19:01, Andrea Giammarchi <andrea.giammarchi at gmail.com>
wrote:

> you keep replying to me only ... you really need to reply-all since I've
> actually no idea ;-)
>
> On Wed, Mar 25, 2015 at 5:53 PM, Robin Cafolla <robin at zombiemongoose.com>
> wrote:
>
>> I'm all for using Reflect, but looking at the API as listed on MDN, the
>> harmony-reflect github, or the spec, i don't see an obvious way of getting
>> the parameters.
>>
>> https://github.com/tvcutsem/harmony-reflect/blob/master/doc/api.md
>>
>> What am I missing?
>>
>> On 25 March 2015 at 18:39, Andrea Giammarchi <andrea.giammarchi at gmail.com
>> > wrote:
>>
>>> Sounds good to me and makes perfect sense. Robin?
>>>
>>> On Wed, Mar 25, 2015 at 5:23 PM, Brendan Eich <brendan at mozilla.org>
>>> wrote:
>>>
>>>> Andrea Giammarchi wrote:
>>>>
>>>>> I think the answer is still a static `[a, b]` as list of arguments to
>>>>> apply, but I can see some lack of "reflection" capability ... or maybe
>>>>> Reflect would solve this?
>>>>>
>>>>
>>>> Yes, Reflect -- we want a mirror approach, not more magic object like
>>>> arguments or function.
>>>>
>>>> /be
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150325/957fe22f/attachment-0001.html>


More information about the es-discuss mailing list