<?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: How to write constants in javascript</title>
	<atom:link href="http://www.javascriptkata.com/2007/03/28/how-to-write-constants-in-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javascriptkata.com/2007/03/28/how-to-write-constants-in-javascript/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-write-constants-in-javascript</link>
	<description>helping you with javascript since 2007</description>
	<lastBuildDate>Tue, 31 Jan 2012 11:22:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: dsimard</title>
		<link>http://www.javascriptkata.com/2007/03/28/how-to-write-constants-in-javascript/comment-page-1/#comment-1235</link>
		<dc:creator>dsimard</dc:creator>
		<pubDate>Sun, 21 Aug 2011 20:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=17#comment-1235</guid>
		<description>Hey, try &lt;a href=&quot;http://developer.mozilla.org/en/JavaScript/Reference/Statements/const&quot; rel=&quot;nofollow&quot;&gt;http://developer.mozilla.org/e...&lt;/a&gt; in your browser :)&lt;br&gt;&lt;br&gt;&lt;blockquote&gt;It is supported in Firefox &amp; Chrome (V8) and partially supported in Opera 9+ &amp; Safari (though it acts as a var). It is not supported in IE6-9.&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Hey, try <a href="http://developer.mozilla.org/en/JavaScript/Reference/Statements/const" rel="nofollow">http://developer.mozilla.org/e&#8230;</a> in your browser <img src='http://www.javascriptkata.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p>It is supported in Firefox &amp; Chrome (V8) and partially supported in Opera 9+ &amp; Safari (though it acts as a var). It is not supported in IE6-9.</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Leung</title>
		<link>http://www.javascriptkata.com/2007/03/28/how-to-write-constants-in-javascript/comment-page-1/#comment-1218</link>
		<dc:creator>Derek Leung</dc:creator>
		<pubDate>Tue, 19 Jul 2011 10:07:07 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=17#comment-1218</guid>
		<description>Hey, try &quot;const something=50&quot; in your browser. :)</description>
		<content:encoded><![CDATA[<p>Hey, try &#8220;const something=50&#8243; in your browser. <img src='http://www.javascriptkata.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: None</title>
		<link>http://www.javascriptkata.com/2007/03/28/how-to-write-constants-in-javascript/comment-page-1/#comment-1054</link>
		<dc:creator>None</dc:creator>
		<pubDate>Mon, 15 Nov 2010 05:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=17#comment-1054</guid>
		<description>like the law ;)</description>
		<content:encoded><![CDATA[<p>like the law <img src='http://www.javascriptkata.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gotenks911</title>
		<link>http://www.javascriptkata.com/2007/03/28/how-to-write-constants-in-javascript/comment-page-1/#comment-956</link>
		<dc:creator>Gotenks911</dc:creator>
		<pubDate>Wed, 13 Oct 2010 04:29:53 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=17#comment-956</guid>
		<description>const MyConstant=30;&lt;br&gt;&lt;br&gt;... ... ... works for me?</description>
		<content:encoded><![CDATA[<p>const MyConstant=30;</p>
<p>&#8230; &#8230; &#8230; works for me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Simard</title>
		<link>http://www.javascriptkata.com/2007/03/28/how-to-write-constants-in-javascript/comment-page-1/#comment-935</link>
		<dc:creator>Dan Simard</dc:creator>
		<pubDate>Wed, 14 Jul 2010 20:35:10 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=17#comment-935</guid>
		<description>That&#039;s a good idea. Just don&#039;t forget the parenthesis : SELECTED() and not SELECTED.</description>
		<content:encoded><![CDATA[<p>That&#39;s a good idea. Just don&#39;t forget the parenthesis : SELECTED() and not SELECTED.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abeckels</title>
		<link>http://www.javascriptkata.com/2007/03/28/how-to-write-constants-in-javascript/comment-page-1/#comment-934</link>
		<dc:creator>Abeckels</dc:creator>
		<pubDate>Wed, 14 Jul 2010 17:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=17#comment-934</guid>
		<description>Umm ... just use a function like a constant...&lt;br&gt;&lt;br&gt;     function SELECTED() { return true; }</description>
		<content:encoded><![CDATA[<p>Umm &#8230; just use a function like a constant&#8230;</p>
<p>     function SELECTED() { return true; }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://www.javascriptkata.com/2007/03/28/how-to-write-constants-in-javascript/comment-page-1/#comment-860</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Tue, 23 Feb 2010 01:34:44 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=17#comment-860</guid>
		<description>Taken directly from the reference at: https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Statements/const

&quot;const is a Mozilla-specific extension, it is not supported by IE, but has been partially supported by Opera since version 9.0 and Safari.&quot;

Until it is supported by browsers with a total marketshare of say 50%, it might as well not exist, so many thanks to the author and to the posters who shared some interesting approaches to getting the functionality of constants in a language that doesn&#039;t support them.</description>
		<content:encoded><![CDATA[<p>Taken directly from the reference at: <a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Statements/const" rel="nofollow">https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Statements/const</a></p>
<p>&#8220;const is a Mozilla-specific extension, it is not supported by IE, but has been partially supported by Opera since version 9.0 and Safari.&#8221;</p>
<p>Until it is supported by browsers with a total marketshare of say 50%, it might as well not exist, so many thanks to the author and to the posters who shared some interesting approaches to getting the functionality of constants in a language that doesn&#8217;t support them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.javascriptkata.com/2007/03/28/how-to-write-constants-in-javascript/comment-page-1/#comment-766</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 09 Jul 2009 16:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=17#comment-766</guid>
		<description>Haha..  interesting to see how many acutally read the article.  It almost gets to the point that a writer needs to write 500 words of caveats and legal mumbo jumbo before posting.   Hahah..  

Thanks for the great article.  It was quick and cocise. Exactly what I needed when I am frantically looking to finish a project and I want the next best thing to contants.  (pseudo-comments) 
Much thanks.</description>
		<content:encoded><![CDATA[<p>Haha..  interesting to see how many acutally read the article.  It almost gets to the point that a writer needs to write 500 words of caveats and legal mumbo jumbo before posting.   Hahah..  </p>
<p>Thanks for the great article.  It was quick and cocise. Exactly what I needed when I am frantically looking to finish a project and I want the next best thing to contants.  (pseudo-comments)<br />
Much thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casey</title>
		<link>http://www.javascriptkata.com/2007/03/28/how-to-write-constants-in-javascript/comment-page-1/#comment-724</link>
		<dc:creator>Casey</dc:creator>
		<pubDate>Fri, 06 Mar 2009 05:45:41 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=17#comment-724</guid>
		<description>@Angela: Haha, you suck! Read up before you post...</description>
		<content:encoded><![CDATA[<p>@Angela: Haha, you suck! Read up before you post&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Angela</title>
		<link>http://www.javascriptkata.com/2007/03/28/how-to-write-constants-in-javascript/comment-page-1/#comment-462</link>
		<dc:creator>Angela</dc:creator>
		<pubDate>Mon, 21 Apr 2008 12:23:55 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=17#comment-462</guid>
		<description>Seems the author may be unaware of const.

More info: http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Constants

Hope this helps!</description>
		<content:encoded><![CDATA[<p>Seems the author may be unaware of const.</p>
<p>More info: <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Constants" rel="nofollow">http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Constants</a></p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

