Object.entries(), Object.values()

Andrea Giammarchi andrea.giammarchi at gmail.com
Fri Mar 21 13:05:27 PDT 2014


also ... as side note, why this came back to me when the topic is
Object.values I didn't go off topic, I just asked a clarification of a
mentioned method that has nothing to do with values?

Anyway ... off the thread again, I didn't mean to bring irrelevant
discussions in here ... Cheers


On Fri, Mar 21, 2014 at 1:02 PM, Andrea Giammarchi <
andrea.giammarchi at gmail.com> wrote:

> 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 ...
>>> right?
>>>
>>> '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.
>>
>> Rick
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140321/53155453/attachment.html>


More information about the es-discuss mailing list