andrea.giammarchi at gmail.com
Fri Mar 21 13:02:59 PDT 2014
the version in agenda is about getOwnPropertyDescriptors ... I thought it
is relevant to not mess up too much with what same method without the `Own`
part also because I don't know why, getPropertyDescriptors, would return an
Array, except just as simulation of the Java meaning?
Or rephrasing: what is a list of descriptors useful for in ES7?
On Fri, Mar 21, 2014 at 10:38 AM, Rick Waldron <waldron.rick at gmail.com>wrote:
> On Fri, Mar 21, 2014 at 12:48 PM, Andrea Giammarchi <
> andrea.giammarchi at gmail.com> wrote:
>> getPropertyDescriptors should not return an array at all but an object
>> with all keys/symbols so it can be reused to defineProperties later on ...
>> 'cause I don't see why getPropertyDescriptors would return an Array
>> otherwise ..
> The version I have on the agenda, that you wrote, returns an object. No
> disrespect to you, but this is irrelevant to the current thread.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss