typeof (JavaScript)

typeof is an operator that returns a string naming the type of a value, such as "number", "string", or "object". It is used to check what kind of data you have.