On Nov 10, 2013, at 2:43 PM, Mark Miller wrote:

> I hate arguments.length as well. But given that we can't get rid of it, the 
> occasional idiomatic use is not *that* vexing. In strict mode "arguments" is 
> effectively a reserved word. If the only use of "arguments" within a strict 
> function is "arguments.length", this will be visible both to humans and to 
> tools. Implementations can trivially implement this by without reifying the 
> arguments object, if it matters. "switch (arguments.count) {" simply becomes 
> an idiom that two sorts of people learn:

Can someone remind me what we decided about 'arguments' and arrow functions.  I 
pretty sure we discussed this recently and reach some conclusion but I can't 
find it in either meeting notes or es-discuss.  And I don't trust the 
correctness of what the spec. draft currently says about this.

Any pointers?

Allen

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

Reply via email to