<?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 &#8216;Variable&#8217; Variables</title>
	<atom:link href="http://journal.adityamukherjee.com/essay/javascript-variable-variables/feed/" rel="self" type="application/rss+xml" />
	<link>http://journal.adityamukherjee.com/essay/javascript-variable-variables/</link>
	<description>Warning: Geek Inside!</description>
	<lastBuildDate>Mon, 26 Oct 2009 08:14:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jason</title>
		<link>http://journal.adityamukherjee.com/essay/javascript-variable-variables/comment-page-1/#comment-3986</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 29 Dec 2008 05:03:03 +0000</pubDate>
		<guid isPermaLink="false">http://adityamukherjee.com/geekaholic/archives/192#comment-3986</guid>
		<description>&lt;p&gt;Thanks, the window[] tip was helpful.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks, the window[] tip was helpful.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Aditya</title>
		<link>http://journal.adityamukherjee.com/essay/javascript-variable-variables/comment-page-1/#comment-1084</link>
		<dc:creator>Aditya</dc:creator>
		<pubDate>Thu, 19 Jun 2008 16:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://adityamukherjee.com/geekaholic/archives/192#comment-1084</guid>
		<description>&lt;p&gt;I found out about the &lt;code&gt;window[&lt;name&gt;]&lt;/code&gt; method after I wrote this (it&#039;s been long). Yes, that method is definitely faster, and for all practical purposes, serves our need.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I found out about the <code>window[&lt;name&gt;]</code> method after I wrote this (it&#8217;s been long). Yes, that method is definitely faster, and for all practical purposes, serves our need.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ruski86</title>
		<link>http://journal.adityamukherjee.com/essay/javascript-variable-variables/comment-page-1/#comment-1083</link>
		<dc:creator>Ruski86</dc:creator>
		<pubDate>Thu, 19 Jun 2008 15:19:29 +0000</pubDate>
		<guid isPermaLink="false">http://adityamukherjee.com/geekaholic/archives/192#comment-1083</guid>
		<description>&lt;p&gt;The eval() function works for this, but is very inefficient. You&#039;d be much better off evaluating such variables through the use of brackets. For example, since all global variables are put into the window class by default, then if you have something like:
var y = &#039;some string&#039;
var x = y&lt;/p&gt;

&lt;p&gt;You could get to the value of y through x by window[x], which would be much more efficient in terms of resources than using eval().&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The eval() function works for this, but is very inefficient. You&#8217;d be much better off evaluating such variables through the use of brackets. For example, since all global variables are put into the window class by default, then if you have something like:
var y = &#8216;some string&#8217;
var x = y</p>

<p>You could get to the value of y through x by window[x], which would be much more efficient in terms of resources than using eval().</p>]]></content:encoded>
	</item>
</channel>
</rss>
