>
>
> Did you mean `Reflect.ownKeys()`?
>

I meant Object.keys.  That will eliminate the inconsistency between
Object.keys usage and hasOwnProperty usage that crops up sometimes:

https://github.com/joyent/node/issues/7587

When dealing with objects-as-maps, it's usually just the key-ness that
you're interested in, not whether the property is inherited or not.
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to