Javascript: Variables

We use variables to store data in Javascript. Variables should
be named(mostof the time) using the "var" keyword. Variable
names may consist of letters, digits, underscores, and dollarsigns.

The names of variables are case sensitive:

var myName;
//is different than
var myname;

/*We can set the value of the variable right away or later in the
var name1 = "Bill";
var age = 15;
var name2;
var age2;
name2 = "Ted\'s";
age2 = 16;

alert(name1 + " and " + name2 + " Excellent Adventure");