<story><title>Destructuring Assignment in ECMAScript 6</title><url>http://fitzgeraldnick.com/weblog/50/</url><text></text></story><parent_chain></parent_chain><comment><author>kevincennis</author><text>For anyone interested in trying some of this stuff out (which I highly recommend, because a lot of the new stuff in ES6 is really great), Google has an awesome tool called Traceur [&lt;a href=&quot;https://github.com/google/traceur-compiler&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;google&amp;#x2F;traceur-compiler&lt;/a&gt;] that will compile ES6 into ES5.&lt;p&gt;There&amp;#x27;s also an online version here: [&lt;a href=&quot;https://github.com/google/traceur-compiler&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;google&amp;#x2F;traceur-compiler&lt;/a&gt;] that&amp;#x27;s great for quick little experiments. And, as an added bonus, it encodes your script in the URL so you can share it.</text></comment>
<story><title>Destructuring Assignment in ECMAScript 6</title><url>http://fitzgeraldnick.com/weblog/50/</url><text></text></story><parent_chain></parent_chain><comment><author>mrspeaker</author><text>This, and the short function syntax (that&amp;#x27;s also already in Firefox stable: &amp;quot;let square = x =&amp;gt; x * x&amp;quot;) make me very giddy. It&amp;#x27;s always been possible to write JavaScript in a functional style - but this kind of sugar makes it much much nicer. Things like Traceur will even let us transpile to old-school JS for old browser support, so for a lot of projects we can start using these things real soon.</text></comment>