when declaring a variable how important is it to use “var”
[AS]var myVar1 = 2;[/AS]
vs.
[AS]myVar1 = 2;[/AS]
is it just preference/someting from another language that you are used to, or have you noticed problems when you leave it out. I think I have used it both ways, but would like to avoid any possible problems that might occur.
and when referring to it do you use var, or skip it.