0
[SOLVED] What's wrong?
I'm trying to create a password validator. But always shows Uncaught SyntaxError: Unexpected token'}' Line: 97 https://code.sololearn.com/WS0hOODVl2nu/?ref=app
4 Answers
+ 2
solution of your problem is here
i replace '{' with '/x7b' in line : 61
https://code.sololearn.com/WPNMqrq0fua4/?ref=app
0
Just remove the semicolons
https://code.sololearn.com/WkGf2Q8LyJc4/?ref=app
- 1
SAN I still don't understand, what should I change?
- 1
On line 61 the problem is with semicolon
try to remove it
const symbols = /[$-/:-?{-~!"^_@&+#%`\[\]]/