<?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: Javascript isArray() : Check if an element/object is an Array</title>
	<atom:link href="http://www.bram.us/2008/02/01/javascript-isarray-check-if-an-elementobject-is-an-array/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bram.us/2008/02/01/javascript-isarray-check-if-an-elementobject-is-an-array/</link>
	<description>A rather geeky/technical weblog by Bram(us) Van Damme</description>
	<lastBuildDate>Tue, 07 Feb 2012 04:34:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: shrewman</title>
		<link>http://www.bram.us/2008/02/01/javascript-isarray-check-if-an-elementobject-is-an-array/#comment-7934</link>
		<dc:creator>shrewman</dc:creator>
		<pubDate>Sun, 08 Jan 2012 21:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.bram.us/2008/02/01/javascript-isarray-check-if-an-elementobject-is-an-array/#comment-7934</guid>
		<description>Thank you for this, it was the quick fix I needed, and it sorted the afore mentioned Webkit issue that the BreakingPar.com version had.
However, I found that if &#039;obj&#039; was undefined. The code would break and an error would be returned.
To fix this, I simply added to you code to safeguard it from this:
function isArray(obj) {
                if (typeof obj != &quot;undefined&quot;) {
                    return obj.constructor == Array;
                } else
                    return false;
}
Hope this helps someone else!</description>
		<content:encoded><![CDATA[<p>Thank you for this, it was the quick fix I needed, and it sorted the afore mentioned Webkit issue that the BreakingPar.com version had.</p>
<p>However, I found that if &#8216;obj&#8217; was undefined. The code would break and an error would be returned.</p>
<p>To fix this, I simply added to you code to safeguard it from this:</p>
<p>function isArray(obj) {<br />
                if (typeof obj != &#8220;undefined&#8221;) {<br />
                    return obj.constructor == Array;<br />
                } else<br />
                    return false;<br />
}</p>
<p>Hope this helps someone else!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: doggy</title>
		<link>http://www.bram.us/2008/02/01/javascript-isarray-check-if-an-elementobject-is-an-array/#comment-1205</link>
		<dc:creator>doggy</dc:creator>
		<pubDate>Wed, 10 Sep 2008 01:03:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.bram.us/2008/02/01/javascript-isarray-check-if-an-elementobject-is-an-array/#comment-1205</guid>
		<description>awesome, that&#039;s what i&#039;ve been looking for :)</description>
		<content:encoded><![CDATA[<p>awesome, that&#8217;s what i&#8217;ve been looking for <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.bram.us/2008/02/01/javascript-isarray-check-if-an-elementobject-is-an-array/#comment-1204</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sun, 17 Feb 2008 23:30:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.bram.us/2008/02/01/javascript-isarray-check-if-an-elementobject-is-an-array/#comment-1204</guid>
		<description>Works great, thanks!</description>
		<content:encoded><![CDATA[<p>Works great, thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

