The JavaScript typeof Operator

The typeof operator returns the type of a variable, object, function or expression.