Allen Wirfs-Brock wrote:
regarding using 'arguments' within arrow functions, I would be sympathetic if somebody wanted to argue that arrow functions should treat 'arguments' similar to this and super and not local rebind its meaning.

However, I would also anticipate some implementor push back on that as I suspect that implementations aren't current set up to uplevel access 'arguments'


No one proposed this and the consensus was implicitly against it in wanting strict mode opt-in to compose with arrows as with function expressions. Let's not complicate arrows any more than necessary (lexical |this|).

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

Reply via email to