<?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: Array.indexOf in Internet Explorer</title>
	<atom:link href="http://soledadpenades.com/2007/05/17/arrayindexof-in-internet-explorer/feed/" rel="self" type="application/rss+xml" />
	<link>http://soledadpenades.com/2007/05/17/arrayindexof-in-internet-explorer/</link>
	<description>repeat 4[fd 100 rt 90]</description>
	<lastBuildDate>Mon, 30 Jan 2012 21:18:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Array.indexOf in Internet Explorer &#60; 9 &#124; Coding Journal</title>
		<link>http://soledadpenades.com/2007/05/17/arrayindexof-in-internet-explorer/#comment-76567</link>
		<dc:creator>Array.indexOf in Internet Explorer &#60; 9 &#124; Coding Journal</dc:creator>
		<pubDate>Wed, 24 Aug 2011 11:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.soledadpenades.com/2007/05/17/arrayindexof-in-internet-explorer/#comment-76567</guid>
		<description>[...] Soledad Penadés correctly stated (back in 2007), Array.indexOf has been around for quite some time in almost every [...]</description>
		<content:encoded><![CDATA[<p>[...] Soledad Penadés correctly stated (back in 2007), Array.indexOf has been around for quite some time in almost every [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sole</title>
		<link>http://soledadpenades.com/2007/05/17/arrayindexof-in-internet-explorer/#comment-70342</link>
		<dc:creator>sole</dc:creator>
		<pubDate>Wed, 11 May 2011 06:06:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.soledadpenades.com/2007/05/17/arrayindexof-in-internet-explorer/#comment-70342</guid>
		<description>Yep, someone mentioned that on the comments :-)

It&#039;s a fix but it has some other consequences...</description>
		<content:encoded><![CDATA[<p>Yep, someone mentioned that on the comments :-)</p>
<p>It&#8217;s a fix but it has some other consequences&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asmor</title>
		<link>http://soledadpenades.com/2007/05/17/arrayindexof-in-internet-explorer/#comment-69556</link>
		<dc:creator>Asmor</dc:creator>
		<pubDate>Thu, 28 Apr 2011 17:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.soledadpenades.com/2007/05/17/arrayindexof-in-internet-explorer/#comment-69556</guid>
		<description>Of note, this fix lead to an unintended consequence that took me a while to debug.

I was doing something like

for (var i in array) ...

And this was failing. Eventually I figured out that, since we&#039;ve added an indexOf property, that was being passed along as one of the values for i, i.e.

array[i] would be equivalent to array[indexOf], which of course is pretty nonsensical...

The solution was to switch the loop to a normal for loop, e.g. for (var i=0; i&lt;array.length; i++)</description>
		<content:encoded><![CDATA[<p>Of note, this fix lead to an unintended consequence that took me a while to debug.</p>
<p>I was doing something like</p>
<p>for (var i in array) &#8230;</p>
<p>And this was failing. Eventually I figured out that, since we&#8217;ve added an indexOf property, that was being passed along as one of the values for i, i.e.</p>
<p>array[i] would be equivalent to array[indexOf], which of course is pretty nonsensical&#8230;</p>
<p>The solution was to switch the loop to a normal for loop, e.g. for (var i=0; i&lt;array.length; i++)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://soledadpenades.com/2007/05/17/arrayindexof-in-internet-explorer/#comment-68580</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 13 Apr 2011 16:38:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.soledadpenades.com/2007/05/17/arrayindexof-in-internet-explorer/#comment-68580</guid>
		<description>Brilliant, thanks :-)</description>
		<content:encoded><![CDATA[<p>Brilliant, thanks :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pranny</title>
		<link>http://soledadpenades.com/2007/05/17/arrayindexof-in-internet-explorer/#comment-62699</link>
		<dc:creator>pranny</dc:creator>
		<pubDate>Mon, 13 Dec 2010 10:08:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.soledadpenades.com/2007/05/17/arrayindexof-in-internet-explorer/#comment-62699</guid>
		<description>Couldn&#039;t help appreciating this script</description>
		<content:encoded><![CDATA[<p>Couldn&#8217;t help appreciating this script</p>
]]></content:encoded>
	</item>
</channel>
</rss>

