javascript !! veriable code example
Example 1: how to define variable in javascript
var <variable-name>;
var <variable-name> = <value>;
Example 2: Create variable javascript
//Assigns the value bar to the variable foo
var foo = bar;
var <variable-name>;
var <variable-name> = <value>;
//Assigns the value bar to the variable foo
var foo = bar;