Glossary: JavaScript Beyond the Basics
typeof
An operator that gives a value's type as a string. It's the one safe way to ask about a name that may not exist.
Glossary: JavaScript Beyond the Basics
An operator that gives a value's type as a string. It's the one safe way to ask about a name that may not exist.