When JavaScript variables are declared, they have an initial value of undefined. If you do a mathematical operation on an undefined variable your result will be NaN which means "Not a Number". If you concatenate a string with an undefined variable, you will get a literal string of "undefined".
var myVariable =
7;
This assigns the Number value 7 to myVariable.
var myVariable =
"Christian";
This assigns the String value Christian to myVariable.
Exercices
Initialize the three variables a, b, and c with 7, 10, and "I am a String!" respectively so that they will not be undefined.
?
;
?
;
?
";