Uncaught Syntaxerror: Unexpected End Of Input
I have this code but when there's a problem and the console log this error Uncaught SyntaxError: Unexpected end of input $(function () { var clicks = 0; setLike('<
Solution 1:
You must be mising either a }
or )
or both something like })
Solution 2:
SyntaxError: Unexpected end of input
means that the file ended, while the parser expected that there was more. This is usually caused by a typo, or a missing ) or }. Count the amount of opening ( and { and count the amount of ) and }. If they are not the same, you should figure out where you forgot to close them.
Post a Comment for "Uncaught Syntaxerror: Unexpected End Of Input"