On Nov 10, 2013, at 11:08 AM, Brendan Eich wrote:
> On the other hand, we are this close in ES6 to relieveing people from having
> to use arguments at all.
>
> I like the intention behind Allen's idea. To defend the concrete syntax a
> bit, one would argue that only the final formal parameter may be prefixed
> with #, and we are free to use # in other ways elsewhere.
>
> If # should be kept reserved even in this context, then perhaps something like
The use of : suggests that another alternative could be:
function splice(start, deleteCount, ...items, :argCount) {
but I still lie # better and don't think this usage would have to impact any
other possbile use of that character.
Allen
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss