Getting the type of a variable
Getting the type of a variable using typeof
The typeof
operator returns a string indicating the type of the operandβs value.
typeof
The typeof
operator returns a string indicating the type of the operandβs value.