var test1 = 1;
var test2 = 1.0;
var test3 = "test";
var test; test = "test"; is invalid.
Why give people the option to further confuse their own code? If you don't know what a variable will end up containing (review your code), use an object type.
[Listening to: Feel Good Inc. - Gorillaz - Demon Days (03:43)]