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