- 2
Let variable in js not working.
The "let" variable when used displays "unexpected identifier".
2 Answers
+ 7
Can you share your code here ? Write it in code playground, and share the link here.
+ 2
It is working. let can only be used in its block.
https://code.sololearn.com/W3v4OrNYyYAL/?ref=app