<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Calling the Array constructor in IE</title>
	<atom:link href="http://www.thespanner.co.uk/2009/01/08/calling-the-array-constructor-in-ie/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thespanner.co.uk/2009/01/08/calling-the-array-constructor-in-ie/</link>
	<description>Javascript blog with messed up syntax inside</description>
	<lastBuildDate>Thu, 26 Jan 2012 01:38:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Acidus</title>
		<link>http://www.thespanner.co.uk/2009/01/08/calling-the-array-constructor-in-ie/#comment-1405</link>
		<dc:creator>Acidus</dc:creator>
		<pubDate>Fri, 09 Jan 2009 14:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=306#comment-1405</guid>
		<description>Hurray! Otherwise I would had to update Ajax Security.</description>
		<content:encoded><![CDATA[<p>Hurray! Otherwise I would had to update Ajax Security.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth Heyes</title>
		<link>http://www.thespanner.co.uk/2009/01/08/calling-the-array-constructor-in-ie/#comment-1404</link>
		<dc:creator>Gareth Heyes</dc:creator>
		<pubDate>Fri, 09 Jan 2009 10:12:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=306#comment-1404</guid>
		<description>Nope doesn&#039;t look like it :(</description>
		<content:encoded><![CDATA[<p>Nope doesn&#8217;t look like it <img src='http://www.thespanner.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://www.thespanner.co.uk/2009/01/08/calling-the-array-constructor-in-ie/#comment-1403</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Fri, 09 Jan 2009 08:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=306#comment-1403</guid>
		<description>so there&#039;s no way to do this?</description>
		<content:encoded><![CDATA[<p>so there&#8217;s no way to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth Heyes</title>
		<link>http://www.thespanner.co.uk/2009/01/08/calling-the-array-constructor-in-ie/#comment-1402</link>
		<dc:creator>Gareth Heyes</dc:creator>
		<pubDate>Thu, 08 Jan 2009 21:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=306#comment-1402</guid>
		<description>Bill your right, I&#039;m a dumbass. Doh!</description>
		<content:encoded><![CDATA[<p>Bill your right, I&#8217;m a dumbass. Doh!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Zeller</title>
		<link>http://www.thespanner.co.uk/2009/01/08/calling-the-array-constructor-in-ie/#comment-1401</link>
		<dc:creator>Bill Zeller</dc:creator>
		<pubDate>Thu, 08 Jan 2009 21:36:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=306#comment-1401</guid>
		<description>Actually I may have spoken too soon. I can no longer get:

var Object = function() {
alert(arguments[0]);
};
([1,2,3]);

to work in Firefox 3.0.5 (calling new Object([1,2,3]) works though)</description>
		<content:encoded><![CDATA[<p>Actually I may have spoken too soon. I can no longer get:</p>
<p>var Object = function() {<br />
alert(arguments[0]);<br />
};<br />
([1,2,3]);</p>
<p>to work in Firefox 3.0.5 (calling new Object([1,2,3]) works though)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Zeller</title>
		<link>http://www.thespanner.co.uk/2009/01/08/calling-the-array-constructor-in-ie/#comment-1400</link>
		<dc:creator>Bill Zeller</dc:creator>
		<pubDate>Thu, 08 Jan 2009 21:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=306#comment-1400</guid>
		<description>Are you sure?

var Object = function() {
 alert(arguments[0]);
}
([1,2,3]);

runs the code

function() {alert(arguments[0]);}([1,2,3]);

and sets the result (undefined) equal to Object. (Try calling new Object() after doing this). For example:

var Object = function() {
 alert(arguments[0]);
 return 5;
}
([1,2,3]);

alert(Object);

Of course, this does still work if you do:

var Object = function() {
 alert(arguments[0]);
};
([1,2,3]);

:-) (notice the semicolon after the function)</description>
		<content:encoded><![CDATA[<p>Are you sure?</p>
<p>var Object = function() {<br />
 alert(arguments[0]);<br />
}<br />
([1,2,3]);</p>
<p>runs the code</p>
<p>function() {alert(arguments[0]);}([1,2,3]);</p>
<p>and sets the result (undefined) equal to Object. (Try calling new Object() after doing this). For example:</p>
<p>var Object = function() {<br />
 alert(arguments[0]);<br />
 return 5;<br />
}<br />
([1,2,3]);</p>
<p>alert(Object);</p>
<p>Of course, this does still work if you do:</p>
<p>var Object = function() {<br />
 alert(arguments[0]);<br />
};<br />
([1,2,3]);</p>
<p> <img src='http://www.thespanner.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  (notice the semicolon after the function)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

