Create variable javascript

JavaScript
var <variable-name>;

var <variable-name> = <value>;
//Assigns the value bar to the variable foo
var foo = bar;var variable1 = "some variable content";	//variables can include any letter, any number, or the underscore
	//NO SPACES!!! USE UNDERSCORES!!!
	//variable names are case sensitive (i.e. this_variable is different from ThiS_VarIaBle)
	//example:
var change_this = 'whatever you want here'
	//change_this is a variable (change it to your variable name)
	//'whatever you want here' is an assignment to the variable change_this.
Source

Also in JavaScript: