Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scope is the total project and encompasses the various files and sub files. This is what makes using a global variable dangerous,
- just cause it will work within the entire application it can be mutated by a function with the same variable name. It is always best to
- use a block system and in strict mode to prevent this from happening.
Add Comment
Please, Sign In to add comment