Declares a variable.
var variable1 [ = value1 ] [, variable2 [ = value2], ...]
Use the var statement to declare variables. These variables can be assigned values at declaration or later in your script.
The following example illustrates the use of the var statement.
varname = "Thomas Jefferson";
varanswer = 42, counter, numpages = 10;