Dmitry Soshnikov (2014-09-29T06:57:49.000Z)
Returning just arrays will be inconsistent with the same name methods that
sit on prototypes of Array, Map, etc.

Yes, Object.keys(...) poisons the iterators idea, but I think these better
to be iterators.

Or, if Object.values and Object.entries will start returning simple arrays
(which of cours is consistent with Object.keys), then probably the iterator
method names are better to rename. (Object.keysIterator(), or something,
don't know yet -- verbose, but does what it says)

Anyhow, since it's ES7, there's a plenty of time to discuss.

Dmitry

On Sunday, September 28, 2014, Rick Waldron <waldron.rick at gmail.com> wrote:

>
>
> On Sun, Sep 28, 2014 at 11:28 AM, Mark Volkmann <r.mark.volkmann at gmail.com
> <javascript:_e(%7B%7D,'cvml','r.mark.volkmann at gmail.com');>> wrote:
>
>> What happened to adding the Object.values and Object.entries methods?
>> There was some discussion that led me to believe these would be in ES6. Are
>> they now targeted for ES7?
>>
>
> Yes, proposed by me and always for ES7
> https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-04/apr-9.md#51-objectentries-objectvalues
> I will complete the necessary tasks for Stage 1 at next meeting.
>
> Rick
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140928/0fa379cb/attachment.html>
domenic at domenicdenicola.com (2014-10-05T23:39:56.006Z)
Returning just arrays will be inconsistent with the same name methods that
sit on prototypes of Array, Map, etc.

Yes, Object.keys(...) poisons the iterators idea, but I think these better
to be iterators.

Or, if Object.values and Object.entries will start returning simple arrays
(which of cours is consistent with Object.keys), then probably the iterator
method names are better to rename. (Object.keysIterator(), or something,
don't know yet -- verbose, but does what it says)

Anyhow, since it's ES7, there's a plenty of time to discuss.