The typeof Operator

Welcome to our free JavaScript tutorial. This tutorial is based on Webucator's Introduction to JavaScript Training course.

Contact Us or call 1-877-932-8228
The typeof Operator

The typeof Operator

The typeof operator is used to find out the type of a piece of data. The screenshot below (of BuiltInObjects/Demos/typeof.html) shows what the typeof operator returns for different data types: Type of Operator

Next

This tutorial is based on Webucator's Introduction to JavaScript Training Course. We also offer many other JavaScript Training courses. Sign up today to get help from a live instructor.