JavaScript Global Variables

JavaScript Global Variables
0

#1

You should ALWAYS use var to declare your variables (to make locally) else it will install GLOBALLY

JavaScript Best Practices: Avoid Globals

Global Variables are bad


#2