SyntaxError: unexpected token: identifier

Solution: You are receiving this error in your console because there is a syntax error in your javascript code. These are some issues to cause this error:

  • Bad Spelling - Check your code to ensure you have spelled the syntax correctly.
  • Unrecognized command - Be sure you are using Javascript syntax only
  • Comments - Be sure when you are adding comments, that you enclose them properly with // or /* */

I know this is short, but that is the purpose of this tutorial, to keep it short and simple.

Webune Team