<?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 block scoping</title>
	<atom:link href="http://lostechies.com/jimmybogard/2008/09/26/javascript-block-scoping/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/jimmybogard/2008/09/26/javascript-block-scoping/</link>
	<description>Strong opinions, weakly held</description>
	<lastBuildDate>Sun, 19 May 2013 03:22:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Bill Barry</title>
		<link>http://lostechies.com/jimmybogard/2008/09/26/javascript-block-scoping/#comment-925</link>
		<dc:creator>Bill Barry</dc:creator>
		<pubDate>Sat, 27 Sep 2008 23:57:59 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/09/26/javascript-block-scoping.aspx#comment-925</guid>
		<description>This is why you should always consider a good lint program:
like http://www.jslint.com/</description>
		<content:encoded><![CDATA[<p>This is why you should always consider a good lint program:<br />
like <a href="http://www.jslint.com/" rel="nofollow">http://www.jslint.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergio Pereira</title>
		<link>http://lostechies.com/jimmybogard/2008/09/26/javascript-block-scoping/#comment-924</link>
		<dc:creator>Sergio Pereira</dc:creator>
		<pubDate>Sat, 27 Sep 2008 13:01:02 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/09/26/javascript-block-scoping.aspx#comment-924</guid>
		<description>That book is nice indeed. It&#039;s short and filled with valuable information. Great for anyone that does not remember why they hate &quot;blocked script&quot;</description>
		<content:encoded><![CDATA[<p>That book is nice indeed. It&#8217;s short and filled with valuable information. Great for anyone that does not remember why they hate &#8220;blocked script&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://lostechies.com/jimmybogard/2008/09/26/javascript-block-scoping/#comment-923</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sat, 27 Sep 2008 03:05:26 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/09/26/javascript-block-scoping.aspx#comment-923</guid>
		<description>BLOCKED SCRIPT  is even weirder than that. What do you think will be the value of myVar when you call the function?

function t()
{
alert(myVar);
var myVar = &quot;scope&quot;;
alert(myVar);
};

The first alert shows &quot;undefined&quot;. The second alert shows &quot;myVar&quot;.

Weird huh? No error when you try to access a variable that hasn&#039;t been declared yet.</description>
		<content:encoded><![CDATA[<p>BLOCKED SCRIPT  is even weirder than that. What do you think will be the value of myVar when you call the function?</p>
<p>function t()<br />
{<br />
alert(myVar);<br />
var myVar = &#8220;scope&#8221;;<br />
alert(myVar);<br />
};</p>
<p>The first alert shows &#8220;undefined&#8221;. The second alert shows &#8220;myVar&#8221;.</p>
<p>Weird huh? No error when you try to access a variable that hasn&#8217;t been declared yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy Bogard</title>
		<link>http://lostechies.com/jimmybogard/2008/09/26/javascript-block-scoping/#comment-922</link>
		<dc:creator>Jimmy Bogard</dc:creator>
		<pubDate>Sat, 27 Sep 2008 02:21:14 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/09/26/javascript-block-scoping.aspx#comment-922</guid>
		<description>@Paul

You&#039;re welcome.</description>
		<content:encoded><![CDATA[<p>@Paul</p>
<p>You&#8217;re welcome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Batum</title>
		<link>http://lostechies.com/jimmybogard/2008/09/26/javascript-block-scoping/#comment-921</link>
		<dc:creator>Paul Batum</dc:creator>
		<pubDate>Fri, 26 Sep 2008 21:06:22 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2008/09/26/javascript-block-scoping.aspx#comment-921</guid>
		<description>Jimmy you just cost me £114.66!!

The problem with Amazon is you never manage to check out with just one book in your basket..</description>
		<content:encoded><![CDATA[<p>Jimmy you just cost me £114.66!!</p>
<p>The problem with Amazon is you never manage to check out with just one book in your basket..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
