Object.entries(), Object.values()

Tom Van Cutsem tomvc.be at gmail.com
Tue Mar 25 12:15:07 PDT 2014


2014-03-22 3:14 GMT+01:00 C. Scott Ananian <ecmascript at cscott.net>:

> Sorry for the confusion.  I was actually referring to
> [[OwnPropertyKeys]] returning an Array, as discussed previously:
>
> http://esdiscuss.org/topic/object-getownpropertydescriptors-o-plural#content-34
>
> Presumably the corresponding proxy trap would change to return an Array as
> well.
>
> But this is a bit off-topic for Object.entries/Object.values ---
> although related in the sense that the "[[OwnPropertyKeys]] returns
> Array" proposal also got support (and a +1 from be) on the list, but
> hasn't been formally added to the ES6 agenda as far as I can tell.
>

Thanks for digging this up. I'll add it to the agenda.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140325/ac684563/attachment.html>


More information about the es-discuss mailing list