<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>greg&#039;s weblog &#187; JavaScript</title>
	<atom:link href="http://www.serberus.net/category/tech/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.serberus.net</link>
	<description>web development and system administration</description>
	<lastBuildDate>Tue, 11 May 2010 10:12:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Javascript indexOf &#8211; String vs Array</title>
		<link>http://www.serberus.net/2010/01/06/javascript-indexof-string-vs-array/</link>
		<comments>http://www.serberus.net/2010/01/06/javascript-indexof-string-vs-array/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 17:10:34 +0000</pubDate>
		<dc:creator>Greg Knapp</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tech Talk]]></category>

		<guid isPermaLink="false">http://www.serberus.net/?p=92</guid>
		<description><![CDATA[As of Javascript 1.6 indexOf() is a method available for use with Arrays. However, there&#8217;s one subtle difference when operating on a String and an Array, both are case sensitive, Array.indexOf() is type sensitive. This is documented but for those of you who&#8217;ve not bothered with the documentation, and it&#8217;s not working as expected, here&#8217;s [...]]]></description>
		<wfw:commentRss>http://www.serberus.net/2010/01/06/javascript-indexof-string-vs-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript sub string nuances</title>
		<link>http://www.serberus.net/2009/11/25/javascript-sub-string-nuances/</link>
		<comments>http://www.serberus.net/2009/11/25/javascript-sub-string-nuances/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 16:17:05 +0000</pubDate>
		<dc:creator>Greg Knapp</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tech Talk]]></category>

		<guid isPermaLink="false">http://www.serberus.net/?p=86</guid>
		<description><![CDATA[I&#8217;m surprised I&#8217;ve not run into this before but Javascript has two sub string methods.

[String].substr(start, length);
[String].substring(indexA, indexB);

To clarify by example:

var name = &#34;Greg Knapp&#34;;
alert(name.substr(5, 5)); // Knapp
alert(name.substring(5, 10)); // Knapp

Minor but caught me out this afternoon.
]]></description>
		<wfw:commentRss>http://www.serberus.net/2009/11/25/javascript-sub-string-nuances/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prototype&#8217;s Array Extensions</title>
		<link>http://www.serberus.net/2007/02/23/prototypes-array-extensions/</link>
		<comments>http://www.serberus.net/2007/02/23/prototypes-array-extensions/#comments</comments>
		<pubDate>Fri, 23 Feb 2007 21:00:56 +0000</pubDate>
		<dc:creator>Greg Knapp</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Tech Talk]]></category>

		<guid isPermaLink="false">http://www.serberus.net/2007/02/23/prototypes-array-extensions/</guid>
		<description><![CDATA[I had cause to use script.aculo.us at work today, which depends on the Prototype framework. I&#8217;ve used Prototype previously (in fact on this very blog!). However, when I dropped script.aculo.us in on the site I was working on, all hell broke loose with my JavaScript breadcrumbs.
I was dynamically populating two arrays via PHP, one for [...]]]></description>
		<wfw:commentRss>http://www.serberus.net/2007/02/23/prototypes-array-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
