Where do I need them?
How to visualize a variable?

// create a variable
var age;
// assign a value
age = 23;
// change the value
age = 24;
// read the value and log it
console.log(age);
var length = 16; // Number
var lastName = "Johnson"; // String
var carNames = ["Saab", "Volvo", "BMW"]; // Array
var person = {firstName:"John", lastName:"Doe"}; // Object
Let's see how to do it with the developer toolbar..
<!DOCTYPE html>
<html>
<body>
<div id="firstNameElement"></div>
<script>
var firstName = "Anna";
document.getElementById("firstNameElement").innerHTML = firstName;
</script>
</body>
</html>