Thanks, LGTM to ship! On Thu, Apr 20, 2017 at 12:38 PM, Sathya Gunasekaran <[email protected]> wrote:
> On Thu, Apr 20, 2017 at 12:31 PM, Adam Klein <[email protected]> wrote: > > Are there test262 tests for this feature (do we pass them?)? > > > > Yes. The tests were added here -- > https://github.com/tc39/test262/issues/865 > > The latest test262 roll has pulled these tests into our harness -- > https://chromium-review.googlesource.com/c/471546/ > > V8 passes all the tests. > > > On Thu, Apr 20, 2017 at 12:27 PM, Sathya Gunasekaran < > [email protected]> > > wrote: > >> > >> Contact Emails: > >> [email protected] > >> > >> Spec: > >> https://tc39.github.io/proposal-object-rest-spread/ > >> > >> Summary: > >> ECMAScript 6 introduced rest elements for array destructuring > >> assignment and spread elements for array literals. This proposal > >> introduces analogous rest properties for object destructuring > >> assignment and spread properties for object literals. > >> > >> Rest properties collect the remaining own enumerable property keys > >> that are not already picked off by the destructuring pattern. Those > >> keys and their values are copied onto a new object. > >> > >> Spread properties in object initializers copies own enumerable > >> properties from a provided object onto the newly created object. > >> > >> Interoperability and Compatibility Risk: > >> This is a stage 3 feature. > >> > >> This new language feature allows syntax that was previously a > >> SyntaxError, so compatibility risk is low. > >> > >> Webkit has shipped this in Safari Tech Preview Release 27. Firefox and > >> Edge have not implemented this yet. > >> > >> Tracking bug: > >> https://bugs.chromium.org/p/v8/issues/detail?id=5549 > >> > >> Chrome status entry: > >> https://www.chromestatus.com/feature/5657004848709632 > >> > >> > > > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
