Skip to content

JS Global Variables

Eric Leung edited this page May 24, 2016 · 2 revisions

JavaScript Global Variables

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

Clone this wiki locally