Enriched Descriptors, maybe ES7 ?
andrea.giammarchi at gmail.com
Sun Mar 9 13:12:23 PDT 2014
my quick tests say no implementation does, all seem to create from the
scratch a new object with only known/described descriptor properties.
).type // undefined
I'd love to know more about Tom experiments on this!
On Sun, Mar 9, 2014 at 1:05 PM, Brendan Eich <brendan at mozilla.com> wrote:
> Tom has experimented, IIRC. I don't know which implementations preserve
> extended property descriptor properties.
> Allen Wirfs-Brock wrote:
>> Note that ES6 proxies as specified permits Object.defineProperty/getOwnPropertyDescriptor
>> to pass custom attributes in property descriptors and even passes them
>> along (not sure if anybody has actually implemented this yet) wherever
>> there is a internal get descriptor/set descriptor sequence. Proxies that
>> support custom attributes might be an interest way toi experiment with some
>> of these ideas.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss