The typeof Operator

Learn about the usage of typeof operator to get the type of a value.

The typeof operator accepts one operand and returns a string. This string describes the type of object.

Get hands-on with 1400+ tech skills courses.