Re: Function identity of non-configurable accessors

2012-12-22 Thread David Bruant
Le 21/12/2012 20:19, Tom Van Cutsem a écrit : Given that there are plenty of cases where the configurable:true contract is violated (i.e. non-deletable configurable properties), and that it is still possible to fix the 3 violations of the configurable:false contract, I think I'm swayed to

@@iterator in arguments object

2012-12-22 Thread Nathan Wall
I never fully understood why the arguments object couldn't be an array, and I know there is at least an attempted purge of the arguments object from the language with the addition of rest parameters.. But, for the transitional period, can the arguments object have an @@iterator property?  

Re: @@iterator in arguments object

2012-12-22 Thread Rick Waldron
On Sat, Dec 22, 2012 at 4:57 PM, Nathan Wall nathan.w...@live.com wrote: I never fully understood why the arguments object couldn't be an array, and I know there is at least an attempted purge of the arguments object from the language with the addition of rest parameters.. But, for the

RE: @@iterator in arguments object

2012-12-22 Thread Nathan Wall
That's great news! Thank you! Nathan   On Sat, Dec 22, 2012 at 4:57 PM, Nathan Wall nathan.w...@live.commailto:nathan.w...@live.com wrote: I never fully understood why the arguments object couldn't be an array, and I know there is at least an attempted purge of the arguments object from

Re: @@iterator in arguments object

2012-12-22 Thread Brandon Benvie
It's good this will be added (no reason not to) but I'll note that is much less of a requirement to even use the arguments object at all, especially iteration use cases that are pretty much filled by rest. In fact (almost?) the only place I've actually referenced the arguments object is to count

Re: @@iterator in arguments object

2012-12-22 Thread Axel Rauschmayer
Parameter default values weren't good enough for this? [[[Sent from a mobile device. Please forgive brevity and typos.]]] Dr. Axel Rauschmayer a...@rauschma.de Home: http://rauschma.de Blog: http://2ality.com On 22.12.2012, at 23:57, Brandon Benvie bran...@brandonbenvie.com wrote: It's good