• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Using Operators > Named Operators

Named Operators

A number of operators are referred to by names instead of symbols. They include new, typeof, instanceof, delete, and void.

The new Operator

You use the new operator with a constructor function to create a datum of the object or array datatype. For instance, in the following examples, the constructor functions are Object(), Array(), and Date():


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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