Uncaught syntaxError : Identifier 'country' has already been declared. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Uncaught syntaxError : Identifier 'country' has already been declared.

let country = "india" ; const country = "newyork" ; * Plz..explain this error message

18th Dec 2021, 1:01 AM
Pravin N
Pravin N - avatar
3 Respostas
+ 3
Can't identify the same variable twice, (remove const)
18th Dec 2021, 1:44 AM
Solo
Solo - avatar
+ 2
No thanks, you can just put like and mark my answer as the best šŸ˜„
18th Dec 2021, 3:17 AM
Solo
Solo - avatar
+ 1
Ok bro thanks for your support šŸ˜Š
18th Dec 2021, 2:59 AM
Pravin N
Pravin N - avatar