[Webkit-unassigned] [Bug 167963] New: [ESnext] Implement Object Spread

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 7 15:44:47 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=167963

            Bug ID: 167963
           Summary: [ESnext] Implement Object Spread
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ticaiolima at gmail.com

Object Rest/Spread Properties for ECMAScript proposal now is in stage 3 and we can implement a prototype of it.

Official proposal: https://github.com/sebmarkbage/ecmascript-rest-spread

This new feature enable the following source code to be parsed and executed:
```
let z = { a: 3, b: 4 }
let n = { x, y, ...z };
n; // { x: 1, y: 2, a: 3, b: 4 }
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170207/256392d6/attachment.html>


More information about the webkit-unassigned mailing list