Bug 38410

Summary: [ES6] Add support for destructuring
Product: WebKit Reporter: Erik Arvidsson <arv>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, barraclough, dglazkov, eric, joepeck, m.goleb+bugzilla, oliver
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://wiki.ecmascript.org/doku.php?id=harmony:destructuring
Bug Depends on: 146339    
Bug Blocks: 80559    

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
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.