<?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: Expected identifier, string or … &#8211; say what?</title>
	<atom:link href="http://avnetlabs.com/javascript/expected-identifier-string-or-number-say-what/feed" rel="self" type="application/rss+xml" />
	<link>http://avnetlabs.com/javascript/expected-identifier-string-or-number-say-what</link>
	<description>Accessible web development</description>
	<lastBuildDate>Fri, 05 Feb 2010 15:55:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jalammar</title>
		<link>http://avnetlabs.com/javascript/expected-identifier-string-or-number-say-what/comment-page-1#comment-822</link>
		<dc:creator>jalammar</dc:creator>
		<pubDate>Fri, 05 Feb 2010 15:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.avnetlabs.com/javascript/expected-identifier-string-or-number-say-what#comment-822</guid>
		<description>I&#039;ve been hunting down an error that only said &quot;Expected identifier&quot; only in IE (7). My research led me to this page. After some frustration, it turned out that the problem that I used a reserved word as a function name (&quot;switch&quot;). The error wasn&#039;t clear and it pointed to the wrong line number.

I renamed the function and all was well again.

Hope this might save someone some time.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been hunting down an error that only said &#8220;Expected identifier&#8221; only in IE (7). My research led me to this page. After some frustration, it turned out that the problem that I used a reserved word as a function name (&#8220;switch&#8221;). The error wasn&#8217;t clear and it pointed to the wrong line number.</p>
<p>I renamed the function and all was well again.</p>
<p>Hope this might save someone some time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sidhartha</title>
		<link>http://avnetlabs.com/javascript/expected-identifier-string-or-number-say-what/comment-page-1#comment-759</link>
		<dc:creator>sidhartha</dc:creator>
		<pubDate>Thu, 26 Nov 2009 09:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.avnetlabs.com/javascript/expected-identifier-string-or-number-say-what#comment-759</guid>
		<description>boss, it is  really superb. i tried for two days and after reading this, solved it in no time. same comma played a spoilsport with me.</description>
		<content:encoded><![CDATA[<p>boss, it is  really superb. i tried for two days and after reading this, solved it in no time. same comma played a spoilsport with me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://avnetlabs.com/javascript/expected-identifier-string-or-number-say-what/comment-page-1#comment-686</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Thu, 20 Aug 2009 17:16:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.avnetlabs.com/javascript/expected-identifier-string-or-number-say-what#comment-686</guid>
		<description>Thanks! This saved me hours.</description>
		<content:encoded><![CDATA[<p>Thanks! This saved me hours.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Referrer Detector 4.2.0.1 (and the IE pain) &#124; phoenix.heart - portfolio &#38; more</title>
		<link>http://avnetlabs.com/javascript/expected-identifier-string-or-number-say-what/comment-page-1#comment-611</link>
		<dc:creator>Referrer Detector 4.2.0.1 (and the IE pain) &#124; phoenix.heart - portfolio &#38; more</dc:creator>
		<pubDate>Sat, 23 May 2009 04:28:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.avnetlabs.com/javascript/expected-identifier-string-or-number-say-what#comment-611</guid>
		<description>[...] it was a &lt;/tr&gt; closing tag there&#8230; but I had some experience with it already: must be an extra comma in a JavaScript array. The problem is, I have like thousands of JavaScript lines within this plugin, and so it took me [...]</description>
		<content:encoded><![CDATA[<p>[...] it was a &lt;/tr&gt; closing tag there&#8230; but I had some experience with it already: must be an extra comma in a JavaScript array. The problem is, I have like thousands of JavaScript lines within this plugin, and so it took me [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ali</title>
		<link>http://avnetlabs.com/javascript/expected-identifier-string-or-number-say-what/comment-page-1#comment-24</link>
		<dc:creator>Ali</dc:creator>
		<pubDate>Tue, 21 Apr 2009 06:25:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.avnetlabs.com/javascript/expected-identifier-string-or-number-say-what#comment-24</guid>
		<description>Thanks Mate, same issue with BIRT partials, worked in Chrome and Firefox, not in ie 6 or 7
Much appreciated</description>
		<content:encoded><![CDATA[<p>Thanks Mate, same issue with BIRT partials, worked in Chrome and Firefox, not in ie 6 or 7<br />
Much appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhaimin</title>
		<link>http://avnetlabs.com/javascript/expected-identifier-string-or-number-say-what/comment-page-1#comment-25</link>
		<dc:creator>Muhaimin</dc:creator>
		<pubDate>Sat, 10 Jan 2009 09:00:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.avnetlabs.com/javascript/expected-identifier-string-or-number-say-what#comment-25</guid>
		<description>Thanks for this post. It really helps me one this minor problem... Now all my ajax are working</description>
		<content:encoded><![CDATA[<p>Thanks for this post. It really helps me one this minor problem&#8230; Now all my ajax are working</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danguba</title>
		<link>http://avnetlabs.com/javascript/expected-identifier-string-or-number-say-what/comment-page-1#comment-26</link>
		<dc:creator>Danguba</dc:creator>
		<pubDate>Mon, 29 Dec 2008 18:54:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.avnetlabs.com/javascript/expected-identifier-string-or-number-say-what#comment-26</guid>
		<description>TNX 1000 times. Same stupid comma in my case :D</description>
		<content:encoded><![CDATA[<p>TNX 1000 times. Same stupid comma in my case <img src='http://avnetlabs.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sri</title>
		<link>http://avnetlabs.com/javascript/expected-identifier-string-or-number-say-what/comment-page-1#comment-23</link>
		<dc:creator>Sri</dc:creator>
		<pubDate>Tue, 11 Nov 2008 20:43:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.avnetlabs.com/javascript/expected-identifier-string-or-number-say-what#comment-23</guid>
		<description>Thanks sooooooooo much!!!! Saved a lot of my hair. Was almost starting to get bald ;-)</description>
		<content:encoded><![CDATA[<p>Thanks sooooooooo much!!!! Saved a lot of my hair. Was almost starting to get bald <img src='http://avnetlabs.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://avnetlabs.com/javascript/expected-identifier-string-or-number-say-what/comment-page-1#comment-22</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Sun, 02 Nov 2008 12:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.avnetlabs.com/javascript/expected-identifier-string-or-number-say-what#comment-22</guid>
		<description>Well guys, actually the IE version is correct as any real programmer knows. The comma is a separator and by inference it follows that after a separator comes another field.

In this case, the field is NULL since the the next command is &quot;ignore to end of line&quot;, followed by a close container statement.

Now because the the field is NULL, which is different from an empty string then of course the program breaks and throws an error.

Firefox handles the exception nicely, which makes their browser more fault tolerant for amateur programmmers. We professionals should still observe the programming rules for accuracy and potential reuse in other environments.

Cheers

Peter</description>
		<content:encoded><![CDATA[<p>Well guys, actually the IE version is correct as any real programmer knows. The comma is a separator and by inference it follows that after a separator comes another field.</p>
<p>In this case, the field is NULL since the the next command is &#8220;ignore to end of line&#8221;, followed by a close container statement.</p>
<p>Now because the the field is NULL, which is different from an empty string then of course the program breaks and throws an error.</p>
<p>Firefox handles the exception nicely, which makes their browser more fault tolerant for amateur programmmers. We professionals should still observe the programming rules for accuracy and potential reuse in other environments.</p>
<p>Cheers</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loris</title>
		<link>http://avnetlabs.com/javascript/expected-identifier-string-or-number-say-what/comment-page-1#comment-21</link>
		<dc:creator>Loris</dc:creator>
		<pubDate>Wed, 01 Oct 2008 16:42:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.avnetlabs.com/javascript/expected-identifier-string-or-number-say-what#comment-21</guid>
		<description>Thanks a ton for the tip, it saved my hair too!
In my case the MS script debugger didn&#039;t even show me the function with the error...</description>
		<content:encoded><![CDATA[<p>Thanks a ton for the tip, it saved my hair too!<br />
In my case the MS script debugger didn&#8217;t even show me the function with the error&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.309 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-02-06 00:55:36 -->
