Type-Checking Variables
Variable typeof Variable Variable.constructor
{ an: “object” } object Object
[ “an”, “array” ] object Array
function(){} function Function
“a string” string String
55 number Number
true boolean Boolean
new User() object User