<?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>Yet Another Blog &#187; Web development</title>
	<atom:link href="http://www.yetanotherblog.nl/category/web-development/feed" rel="self" type="application/rss+xml" />
	<link>http://www.yetanotherblog.nl</link>
	<description>About anything and everything</description>
	<lastBuildDate>Mon, 06 Sep 2010 13:24:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Crashing JavaScript in Internet Explorer</title>
		<link>http://www.yetanotherblog.nl/web-development/crashing-javascript-in-internet-explorer-3</link>
		<comments>http://www.yetanotherblog.nl/web-development/crashing-javascript-in-internet-explorer-3#comments</comments>
		<pubDate>Mon, 16 Mar 2009 19:15:03 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Web development]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.yetanotherblog.nl/?p=3</guid>
		<description><![CDATA[Most of the JavaScript programmers has probably &#8220;broken&#8221; their scripts in Internet Explorer at least once in their live. Sometimes it is a tiny bug that can crash your scripts. One of that bugs can show up when using object &#8230; <a href="http://www.yetanotherblog.nl/web-development/crashing-javascript-in-internet-explorer-3">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Most of the JavaScript programmers has probably &#8220;broken&#8221; their scripts in Internet Explorer at least once in their live. Sometimes it is a tiny bug that can crash your scripts. One of that bugs can show up when using object literals.</p>
<p>When adding a few key-value pairs to a object literal, most developers just copy and past the previous row, including the comma and then edit the key name and its value. Example:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> foobars <span style="color: #009900;">&#123;</span>
   foo1<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;bar1&quot;</span><span style="color: #339933;">,</span>
   foo2<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;bar2&quot;</span><span style="color: #339933;">,</span>
   foo3<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;bar3&quot;</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// &lt;-- get rid of that comma!</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>This code will let you crash your JavaScript in Internet Explorer and it can make you desperate when you have to debug it. So, watch out when using object literals. <img src='http://www.yetanotherblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.yetanotherblog.nl/web-development/crashing-javascript-in-internet-explorer-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
