<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: JavaScript New Features (EcmaScript 5)</title>
	<atom:link href="http://markcaudill.com/index.php/2009/04/javascript-new-features-ecma5/feed/" rel="self" type="application/rss+xml" />
	<link>http://markcaudill.com/index.php/2009/04/javascript-new-features-ecma5/</link>
	<description>All about me</description>
	<pubDate>Tue, 07 Sep 2010 21:22:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Mark Caudill</title>
		<link>http://markcaudill.com/index.php/2009/04/javascript-new-features-ecma5/#comment-71</link>
		<dc:creator>Mark Caudill</dc:creator>
		<pubDate>Sat, 18 Apr 2009 13:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://markcaudill.com/?p=6#comment-71</guid>
		<description>Brendan: Thanks for the correction!  I did look at the spec but I overlooked 10.5 CreateArgumentsObject #5, I only saw the argument getting the Arguments class.

Alo, harmony looks exciting as well, but the fact that ES5 is already making motions to implementation really make the immediate future promising.  I can see a year from now us having a "ES5-rollup" library (in Javascript) that attempts compatibility when using "ES3."  Great things to come no matter what though.</description>
		<content:encoded><![CDATA[<p>Brendan: Thanks for the correction!  I did look at the spec but I overlooked 10.5 CreateArgumentsObject #5, I only saw the argument getting the Arguments class.</p>
<p>Alo, harmony looks exciting as well, but the fact that ES5 is already making motions to implementation really make the immediate future promising.  I can see a year from now us having a &#8220;ES5-rollup&#8221; library (in Javascript) that attempts compatibility when using &#8220;ES3.&#8221;  Great things to come no matter what though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brendan Eich</title>
		<link>http://markcaudill.com/index.php/2009/04/javascript-new-features-ecma5/#comment-70</link>
		<dc:creator>Brendan Eich</dc:creator>
		<pubDate>Sat, 18 Apr 2009 05:05:29 +0000</pubDate>
		<guid isPermaLink="false">http://markcaudill.com/?p=6#comment-70</guid>
		<description>Konrad@5:55pm - ES5 does make arguments have Array.prototype in its prototype chain, a change from ES1-3. So you can say arguments.slice(0,2), e.g., and not the overlong Array.prototype.slice.call(arguments,0,2).

Coming in ES Harmony: rest parameters, as drafted for ES4: function foo(fst, snd, ...rest) { /* here rest is a true Array instance */ }. To match, the "spread" operator: given an Array arr, you can spread it out so its elements are passed as positional parameters to a function foo, via foo(...arr). With rest and the spread operator, one can compose new and apply without a hardcoded newApply method, and the need for arguments goes away.

/be</description>
		<content:encoded><![CDATA[<p>Konrad@5:55pm - ES5 does make arguments have Array.prototype in its prototype chain, a change from ES1-3. So you can say arguments.slice(0,2), e.g., and not the overlong Array.prototype.slice.call(arguments,0,2).</p>
<p>Coming in ES Harmony: rest parameters, as drafted for ES4: function foo(fst, snd, &#8230;rest) { /* here rest is a true Array instance */ }. To match, the &#8220;spread&#8221; operator: given an Array arr, you can spread it out so its elements are passed as positional parameters to a function foo, via foo(&#8230;arr). With rest and the spread operator, one can compose new and apply without a hardcoded newApply method, and the need for arguments goes away.</p>
<p>/be</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Caudill, a ninja in waiting » JavaScript New Features &#8230;</title>
		<link>http://markcaudill.com/index.php/2009/04/javascript-new-features-ecma5/#comment-68</link>
		<dc:creator>Mark Caudill, a ninja in waiting » JavaScript New Features &#8230;</dc:creator>
		<pubDate>Wed, 15 Apr 2009 07:01:40 +0000</pubDate>
		<guid isPermaLink="false">http://markcaudill.com/?p=6#comment-68</guid>
		<description>[...] Originally posted here: Mark Caudill, a ninja in waiting » JavaScript New Features &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Originally posted here: Mark Caudill, a ninja in waiting » JavaScript New Features &#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JavaScript is getting a facelift.</title>
		<link>http://markcaudill.com/index.php/2009/04/javascript-new-features-ecma5/#comment-67</link>
		<dc:creator>JavaScript is getting a facelift.</dc:creator>
		<pubDate>Wed, 15 Apr 2009 00:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://markcaudill.com/?p=6#comment-67</guid>
		<description>[...] Or more like an upgrade. Mark Cuadill has more to say about it. [...]</description>
		<content:encoded><![CDATA[<p>[...] Or more like an upgrade. Mark Cuadill has more to say about it. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Konrad Zielinski</title>
		<link>http://markcaudill.com/index.php/2009/04/javascript-new-features-ecma5/#comment-66</link>
		<dc:creator>Konrad Zielinski</dc:creator>
		<pubDate>Tue, 14 Apr 2009 23:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://markcaudill.com/?p=6#comment-66</guid>
		<description>arguments.callee is usefull. but arguments could have still just being an Array with an extra property rather then a completely unrelated object which just happens to behave the same, some of the time (you still have arguments.length). Ditto for Strings. 

The other question being, once the draft gets accepted how long will it be before we see support in all of the wonderful new JavaScript engines.</description>
		<content:encoded><![CDATA[<p>arguments.callee is usefull. but arguments could have still just being an Array with an extra property rather then a completely unrelated object which just happens to behave the same, some of the time (you still have arguments.length). Ditto for Strings. </p>
<p>The other question being, once the draft gets accepted how long will it be before we see support in all of the wonderful new JavaScript engines.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Caudill</title>
		<link>http://markcaudill.com/index.php/2009/04/javascript-new-features-ecma5/#comment-65</link>
		<dc:creator>Mark Caudill</dc:creator>
		<pubDate>Tue, 14 Apr 2009 23:22:30 +0000</pubDate>
		<guid isPermaLink="false">http://markcaudill.com/?p=6#comment-65</guid>
		<description>Konrad: Arguments is a special object still, but...

*Edit: See Bredan's post below, he explains that arguments now uses the Array.prototype but is still a "special class" of an object*</description>
		<content:encoded><![CDATA[<p>Konrad: Arguments is a special object still, but&#8230;</p>
<p>*Edit: See Bredan&#8217;s post below, he explains that arguments now uses the Array.prototype but is still a &#8220;special class&#8221; of an object*</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Konrad Zielinski</title>
		<link>http://markcaudill.com/index.php/2009/04/javascript-new-features-ecma5/#comment-64</link>
		<dc:creator>Konrad Zielinski</dc:creator>
		<pubDate>Tue, 14 Apr 2009 22:55:42 +0000</pubDate>
		<guid isPermaLink="false">http://markcaudill.com/?p=6#comment-64</guid>
		<description>I always found it strange that 'arguments' is an object and not an Array. having all of these new Array methods is really neat, but can be rather furstrating if you can't use them on the arguments your function just received. 

So has this been changed too?</description>
		<content:encoded><![CDATA[<p>I always found it strange that &#8216;arguments&#8217; is an object and not an Array. having all of these new Array methods is really neat, but can be rather furstrating if you can&#8217;t use them on the arguments your function just received. </p>
<p>So has this been changed too?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
