JavaScript error (Uncaught SyntaxError: Unexpected end of input)

后端 未结 11 2092
天命终不由人
天命终不由人 2020-11-27 10:30

I have some JavaScript code that works in FireFox but not in Chrome or IE.

In the Chrome JS Console I get the follow error:

\"Uncaught Synta

11条回答
  •  孤城傲影
    2020-11-27 11:06

    I got this since I had a comment in a file I was adding to my JS, really awkward reason to what was going on - though when clicking on the VM file that's pre-rendered and catches the error, you'll find out what exactly the error was, in my case it was simply uncommenting some code I was using.

提交回复
热议问题