3 different ways to define variables in javascripot code example
Example 1: how to define variable in javascript
var <variable-name>;
var <variable-name> = <value>;
Example 2: javascript define variable
var variable1 = "some variable content";
var <variable-name>;
var <variable-name> = <value>;
var variable1 = "some variable content";