Never mind, I was running the script using F5. In which, I should run it using CTRL + Enter.
The error message is "a is not defined". There is no problem with execution, and an error should be reported here.
About let https://www.w3schools.com/js/js_let.asp
What about this?
result for cases.
This is from your docs.
Is this not possible?
Replies have been locked on this page!