javascript var scope
Published: Thursday, May 15, 2008 Last modified: Thursday, Nov 14, 2024
Basically the variable becomes local only when you use var inside a function.
Basically the variable becomes local only when you use var inside a function.