Share via


Expected identifier (JavaScript)

You used something other than an identifier in a context where one was required. An identifier can be:

  • a variable,

  • a property,

  • an array,

  • or a function name.

To correct this error

  • Change the expression so an identifier appears to the left of the equal sign.

See also

Using Arrays