An important concept in programming is variables. Variables are used to store values.
The word 'variable' means 'can change'. It is used because variables can store many different types of values and can change their value many times.
A good analogy for the variable is a box. You can imagine the name of the variable as the label on the box, and the value of the variable as what's stored inside it.
Creating a variable in programming terms is called declaring a variable. Let's declare our first variable!
> var x = "My first variable!"< undefined
var is shorthand for variable. You should read the above statement as "Assign the value "My first variable!" to a (new) variable named x."
Also you may have noticed, storing our sentence in a variable from the console doesn't just return our sentence right away, but instead gives us undefined which means there was nothing to return.
So how do we know what value is actually stored in the variable? Simply name of the variable on the console:
> x< "My first variable!"
Yippee! Your first variable! :)