SCOPE in JAVASCRIPT
SCOPE ->
1. Global - Function, variables, Objects which could be accessable from anywhere.
2. Function - Variable and Objects accessible only inside the function.
3. Module - The scope for code running in module mode.
rohanagrawal.hashnode.dev1 min read