While putting together some test cases for Object.keys, I wondered: is it intended that property names are always passed to traps as strings? It seems like a reasonable assumption, but is not currently the case everywhere (e.g. the default implementation for `keys' can violate this assumption when passing names to this.getOwnPropertyDescriptor).
/Andreas _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

