[Windows] JS syntax doesn't work

Exalted Celestial shared this question 4 years ago
Answered

09a91331b40dd3713fe957951f079700


Javascript codes not running. Even the examples.

Best Answer
photo

Never mind, I was running the script using F5. In which, I should run it using CTRL + Enter.

This comment is in trash! Restore

Replies (7)

photo
1

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

This comment is in trash! Restore
photo
1

wait.

This comment is in trash! Restore
photo
1

2ec255de8734e0411b577157f5d1f57f


What about this?

This comment is in trash! Restore
photo
1

b8f35bd3c57d906a2687648bfbc376f6


result for cases.

This comment is in trash! Restore
photo
1

2d1c4034208eb1a47938eed4049edbad


This is from your docs.

This comment is in trash! Restore
photo
1

0cc298372a93b6247d34a948ae0e4348


Is this not possible?

This comment is in trash! Restore
photo
1

Never mind, I was running the script using F5. In which, I should run it using CTRL + Enter.

This comment is in trash! Restore
Leave a Comment
 
Attach a file
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!