Unexpected token: operator (<) (line: X, col: Y)

Avatar

Avatar

Community_Admin

Employee

Avatar

Community_Admin

Employee

Community_Admin
Employee

15-10-2015

I'm getting the following error:

Unexpected token: operator (<) (line: X, col: Y)

What's wrong with my code?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Community_Admin

Employee

Avatar

Community_Admin

Employee

Community_Admin
Employee

15-10-2015

You’ve likely chosen the incorrect setup type for your script. Based on the contents of the script, the editor was expecting HTML, but you set the script to Javascript or vice versa. For example: if your script contains <script> tags, but you set the script up as Javascript, you will receive this error when you attempt to save the code.

Answers (0)