IE – Expected identifier, string or number

Monday 02/9/2009  –  Category: Uncategorized

If you're getting this error, chances are you have an extra comma after a curly brace:

 
a = {
   b: function() { },
   c: function() { },
}
 

Get rid of the trailing comma and your JS error woes will disappear!
(source)

One Response to “IE – Expected identifier, string or number”

  1. Nitin Says:

    Thanks :)

Leave a Reply