To
declare variables is to state what variables will be used
•Required
… put declarations first in program
•Use
the word: var
•Follow
with a list of variables separated by ,
•Terminate
all statements with a semicolon ;
•var x, input1, input2, rate;
• Give variables an initial value with =
•var interestRate = 4, pi = 3.14159;