IE – Expected identifier, string or number

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!

This entry was posted in ExtJs, javascript, Troubleshoot. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *