WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
38410
[ES6] Add support for destructuring
https://bugs.webkit.org/show_bug.cgi?id=38410
Summary
[ES6] Add support for destructuring
Erik Arvidsson
Reported
2010-04-30 15:57:25 PDT
Destructuring (aka destructuring assignmen) is one of the approved proposals for the next version of ECMAScript (Harmony). Destructuring is already supported by SpiderMonkey and Opera (Carakan). var [x, y] = [0, 1]; assertEquals(0, x); assertEquals(1, y);
Attachments
Add attachment
proposed patch, testcase, etc.
Erik Arvidsson
Comment 1
2011-08-29 14:08:59 PDT
This is also in the latest draft of the ES6 spec
http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts
Erik Arvidsson
Comment 2
2013-10-21 12:25:11 PDT
Olliver, can this be closed now?
Joseph Pecoraro
Comment 3
2016-06-06 20:28:17 PDT
Yeah, JSC has supported destructing for a while now. Closing.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug