Uncaught SyntaxError: Unexpected token ILLEGAL


Was coding in NetBeans just now and stumbled upon this error:
Uncaught SyntaxError: Unexpected token ILLEGAL 
I'm very sure there is no syntax error on that line. But chrome just wouldn't stop complaining about it.
After debugging for a while, I realize its the extra unidentified character (space/eol) that is causing the error.


Deleting that solves the problem :)

Comments

Popular posts from this blog

225019099301.apps.googleusercontent.com

Backup MySQL to Azure Storage in 30 Seconds

Generate GoDaddy SSL Certificate (.crt) for Azure Websites (.pfx)