JS1028: Expected identifier or string
An incorrect literal syntax is used to declare an object literal. The properties of an object literal must be either an identifier or a string. An object literal (also called an "object initializer") consists of a comma-separated list of property:value pairs, all enclosed within brackets. For example:
var point = {x:1.2, y:-3.4};
To correct this error
- Ensure that the literal syntax is correct.