0
Solved | Uncaught SyntaxError: Block-scoped declarations
How to solve this problem? ------------------------------------------ Solved the problem, added "use strict" to the beginning;
2 Antworten
0
1. General answer :
declare in global scope,
and initialize in block-scope.
- - -
2. Readings
Regarding closure, here is David Carroll's pick of 3 readings from beginner to advanced:
https://www.sololearn.com/post/45261/?ref=app
- - -
3. If you still need specific answer
Please show your code here so that we can help you
https://www.sololearn.com/post/75089/?ref=app
- 1
https://code.sololearn.com/WQ6fIxNEvqgJ/?ref=app