• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

typeof

JavaScript1.1+, JScript1.0+ NES2+, Nav3+, IE3+, Opera3+ Syntax

typeof(variable)

Description

The typeof unary operator is used to determine the type of the variable passed to it. The return values of this operator are boolean, number, object, string, or undefined.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint