typeof null
In JavaScript, typeof is a useful operator for parsing data. typeof returns a string that describes the data type of the value passed in.
Example:
typeof 1234 // "number"
typeof "abcd" // "string"
typeof false // "boolean"
typeof { foo: "bar" } // "o...
blog.kellenbaker.com2 min read