Maybe we need a reflect API to iterate over instance members

Alexander Jones alex at
Mon Jun 1 18:36:41 UTC 2015

On Monday, June 1, 2015, Tom Van Cutsem < at> wrote:

> 2015-06-01 8:38 GMT+02:00 Domenic Denicola <d at
> <javascript:_e(%7B%7D,'cvml','d at');>>:
>> From: es-discuss [mailto:es-discuss-bounces at
>> <javascript:_e(%7B%7D,'cvml','es-discuss-bounces at');>] On
>> Behalf Of Gray Zhang
>> > I’m just wondering is there any reason that Reflect API is not suitable
>> to provide such functionality?
>> Reflect currently contains only methods which correspond to proxy traps.
>> There has been talk of extending it beyond that, but making that first step
>> is going to be a hurdle for whoever’s proposing it to extend it.
> Or since Proxy traps correspond 1-to-1 to the "internal methods" in the
> spec, the primary goal of the Reflect API was to expose the essential
> methods that make up Javascript's object model as defined by the spec.

I like this definition. Is it written down? (I need ammunition for
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list