SYNTAX – typeof operand
Operand – An expression which is representing the object or primitive data whose type is to be returned.
The type of method can return one of these primitive data types ( A primitive data value can be used to refer to a single simple data value with no extra or additional properties and methods.)
It can also be used to return complex data types like functions or objects. It returns “object” for objects, arrays, and null and does not return “object” for functions.
Data Type of typeOf() ?
Why NULL is considered as objects?