Syntax error (JavaScript)

You created a statement that violates one or more of the grammatical rules of JavaScript.

To correct this error

  • Double-check the syntax of your program on the line number indicated.

  • Look for misdirected parentheses or braces.

See also

Error Object