The typeof operator is used to get the data type (returns a string) of its operand . The operand can be either a literal or a data structure such as a variable, a function, or an object.
The typeof operator is used to get the data type (returns a string) of its operand . The operand can be either a literal or a data structure such as a variable, a function, or an object.