value declaration in javascript code example
Example 1: varianle in javascript
var one = 1; // variable stores numeric value
var two = 'two'; // variable stores string value
var three; // declared a variable without assigning a value
Example 2: how to define variable in javascript
var <variable-name>;
var <variable-name> = <value>;
Example 3: varaible javascript
let <var-name> = value;