Object.getOwnPropertyDescriptors(O) ? // plural

Andrea Giammarchi andrea.giammarchi at gmail.com
Tue Mar 4 15:18:51 PST 2014

"thing" ... no "things", just this one ... pliiiiiiiiiz :-)

Also please note that this proposal simplifies [Object.assign(target,
too since latter one is basically:


So, in order of priority or what is needed the most, I think with
`Object.getOwnPropertyDescriptors(O)` we can solve more than
`Object.assign(target, source)` but bear in mind I am not pushing back the
latter one anyhow.

IMO this proposal is just very, very related to ES6 changes due Symbols but
it should have probably been in ES5 too because there was defined
`Object.getOwnPropertyDescriptor` which has been indeed upgraded to accept
ES6 `Symbols` too.

The spec as it is kinda a no-brainer, ready for copy and paste once
reviewed, and simple enough I believe the implementation is straight
forward, and I won't mind pushing a patch for V8 to start playing with.

All this, of course, if everyone agrees and there is a consensus at the
next meeting after Rick presentation.

Best Regards

On Tue, Mar 4, 2014 at 2:31 PM, C. Scott Ananian <cscott at cscott.net> wrote:

> Is the committee establishes some preliminary functions for ES7 at the
> next meeting, I'd be happy to start `es7-shim` right away.  Perhaps
> that will eliminate some of the pressure to squeeze things into ES6?
>  --scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140304/b6b129b4/attachment-0001.html>

More information about the es-discuss mailing list