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 Answers
+ 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