<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>38410</bug_id>
          
          <creation_ts>2010-04-30 15:57:25 -0700</creation_ts>
          <short_desc>[ES6] Add support for destructuring</short_desc>
          <delta_ts>2016-06-06 20:28:17 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://wiki.ecmascript.org/doku.php?id=harmony:destructuring</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>146339</dependson>
          <blocked>80559</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Erik Arvidsson">arv</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>barraclough</cc>
    
    <cc>dglazkov</cc>
    
    <cc>eric</cc>
    
    <cc>joepeck</cc>
    
    <cc>m.goleb+bugzilla</cc>
    
    <cc>oliver</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>219635</commentid>
    <comment_count>0</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2010-04-30 15:57:25 -0700</bug_when>
    <thetext>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);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>458445</commentid>
    <comment_count>1</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2011-08-29 14:08:59 -0700</bug_when>
    <thetext>This is also in the latest draft of the ES6 spec

http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>941964</commentid>
    <comment_count>2</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2013-10-21 12:25:11 -0700</bug_when>
    <thetext>Olliver, can this be closed now?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1199874</commentid>
    <comment_count>3</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-06-06 20:28:17 -0700</bug_when>
    <thetext>Yeah, JSC has supported destructing for a while now. Closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>