typeof

Term side of the Card
Topic: Syntax
Unit title: typeof
Categories: Syntax, Operator
Explanation side of the Card

Explanation: The operator used to determine the type of a given variable or value. It returns a string representing the type, such as 'string', 'number', 'object' or 'undefined'.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: