[Webkit-unassigned] [Bug 167962] New: [ESnext] Implement Object Rest - Implementing Object Rest Destructuring
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 7 15:37:36 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=167962
Bug ID: 167962
Summary: [ESnext] Implement Object Rest - Implementing Object
Rest Destructuring
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 { x, y, ...z } = { x: 1, y: 2, a: 3, b: 4 };
x; // 1
y; // 2
z; // { 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/40a8487a/attachment.html>
More information about the webkit-unassigned
mailing list