Object.getOwnPropertyDescriptors(O) ? // plural
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.
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss