dabase.com → Kai's Tech Tips → Web → javascript var scope javascript var scope Published: Thursday, May 15, 2008 Last modified: Monday, Dec 9, 2024 Good explaination here Basically the variable becomes local only when you use var inside a function. ←Previous Next→