Type of property names, as seen by proxy traps

Andreas Rossberg rossberg at google.com
Thu Jul 7 05:40:19 PDT 2011

On 7 July 2011 14:32, David Bruant <david.bruant at labri.fr> wrote:
> However, if we assume that the getOwnPropertyNames trap is able to do type
> coercion on its output, there is no reason for the keys trap to not do that
> too, regardless of how it was implemented.

Yes, that's what I would propose, too. It's just a bit ugly that we
have to do that in two places now.


More information about the es-discuss mailing list