IE error “expected identifier, string or number”

This probably means that you’ve got a trailing comma after an object/hash definition:

var myObj = {
  key0: 'val0',
  key1: 'val1',
  key2: 'val2', // ←
};         // ↑

You’re on your own for trying to figure out which file it’s talking about and translating the line number into the correct value.

This entry was posted in javascript, microsoft, Software, work. Bookmark the permalink.

Leave a Reply