Property ordering of [[Enumerate]] / getOwnPropertyNames()

Scott Sauyet scott at
Thu Sep 3 02:37:44 UTC 2015

John-David Dalton <john.david.dalton at> 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.


This same concern was tripping me up this week.

  -- Scott

More information about the es-discuss mailing list