On Sep 2, 2015, at 4:10 PM, John-David Dalton wrote:
> Hiya,
>
> > [Enumerate]] must obtain the own property keys of the target object as if
> > by calling its [[OwnPropertyKeys]] internal method
>
> Whoa that's tricky language. I assumed reading it that [[Enumerable]] was to
> follow the ord
John-David Dalton wrote:
> It's odd to me that:
>
> Reflect.ownKeys() has defined order but
> Reflect.enumerate() doesn't
>
> I'm using Reflect.enumerate() to create a `keysIn` implementation (like
> `keys` but for own & inherited key
> names).
>
> :+1: for more defined behavior in ES7.
+1
Hiya,
> [Enumerate]] must obtain the own property keys of the target object as if
by calling its [[OwnPropertyKeys]] internal method
Whoa that's tricky language. I assumed reading it that [[Enumerable]] was
to follow the order of [[OwnPropertyKeys]] (as part of "as if by") and
walking the prototy
Meant to send this to the list originally...
- Original Message -
From: "Jesse McCarthy"
To: "Allen Wirfs-Brock"
Sent: Friday, August 21, 2015 4:12 PM
Subject: Re: Property ordering of [[Enumerate]] / getOwnPropertyNames()
Re: my previous message...sorry,
Meant to send this to the list originally...
- Original Message -
From: "Jesse McCarthy"
To: "Allen Wirfs-Brock"
Sent: Friday, August 21, 2015 3:59 PM
Subject: Re: Property ordering of [[Enumerate]] / getOwnPropertyNames()
Hey Allen, thanks for the info.
Co
Meant to send this to the list originally...
- Original Message -
From: "Jesse McCarthy"
To: "Adam Klein"
Sent: Friday, August 21, 2015 3:19 PM
Subject: Re: Property ordering of [[Enumerate]] / getOwnPropertyNames()
Thanks for the link Adam. Nice to see you
On Aug 20, 2015, at 9:54 AM, Jesse McCarthy wrote:
> I just want to confirm some things about property enumeration order of plain
> Objects. I apologize that this has probably already been discussed before,
> but it's hard to locate a clear answer. Please note that I'm solely asking
> about ES
This doesn't answer the spec question, exactly, but v8 doesn't currently
conform to ES6's requirements for [[OwnPropertyKeys]]: some objects return
names in an implementation-dependent order (see
https://code.google.com/p/v8/issues/detail?id=3056 for more details).
On Thu, Aug 20, 2015 at 9:54 AM,
8 matches
Mail list logo