typeof that can be used to checked the variable type during runtime.
typeof returns a string of the value's data type, which can be convenient and necessary at times. The sample code below show 4 examples of the
typeof operator, the last two being special cases.
As you can assume from the first example of the
typeof operator works.