Skip to content

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.

Where the book teaches it

Related terms

Scope