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
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
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
Meant to send this to the list originally...
- Original Message -
From: Jesse McCarthy es-discuss-2015...@jessemccarthy.net
To: Adam Klein ad...@chromium.org
Sent: Friday, August 21, 2015 3:19 PM
Subject: Re: Property ordering of [[Enumerate]] / getOwnPropertyNames()
Thanks
Meant to send this to the list originally...
- Original Message -
From: Jesse McCarthy es-discuss-2015...@jessemccarthy.net
To: Allen Wirfs-Brock al...@wirfs-brock.com
Sent: Friday, August 21, 2015 4:12 PM
Subject: Re: Property ordering of [[Enumerate]] / getOwnPropertyNames()
Re: my
Meant to send this to the list originally...
- Original Message -
From: Jesse McCarthy es-discuss-2015...@jessemccarthy.net
To: Allen Wirfs-Brock al...@wirfs-brock.com
Sent: Friday, August 21, 2015 3:59 PM
Subject: Re: Property ordering of [[Enumerate]] / getOwnPropertyNames()
Hey
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
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
8 matches
Mail list logo