JavaScript Operators

The typeof Operator

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