0
Where does the "Uncaught SyntaxError: Unexpected end of input" originate?
I've tried many code editors, but they keep returning this error. When I used a code validator, it said there weren't any. https://code.sololearn.com/W5a162A10a12/#
4 odpowiedzi
+ 5
there were a lots of issues that i fixed
https://code.sololearn.com/W4TbHkvf6Z7k/?ref=app
see comments in js tab for edits that i have made
+ 1
I think it happens when you forget to close the bracket.For example missing a } or something like that.
+ 1
code validators only check the html sttucture, not the embeded javascript syntax...
"unexpected end of input" could occurs for unclosed strings, brackets or even parenthesis...
0
Alright, say where's my problem, then.