how to store variable in javascript

JavaScript
var example1 = "hello this is string variable" ; //this is string variable
var example2 = 12345 ; //this is numeric variable
var example3 = true ; //boolean variable
Source

Also in JavaScript: