Understanding Variable Scopes in JavaScript
The scope of a variable refers to where it will live or where it can be accessed. In JavaScript we have several options: global, local, and block.
1 posts tagged
The scope of a variable refers to where it will live or where it can be accessed. In JavaScript we have several options: global, local, and block.