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

The Boolean Object

As its name makes clear, the Boolean object handles Boolean values. There’s not really a great deal to this object, but we should cover it for the sake of completeness. You can see the properties of the Boolean object in Table 19.7 and its methods in Table 19.8.

Table 19.7. The Properties of the Boolean Object
Property NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
constructor  x x x  x x x x x
  Read/write
  This property specifies the function that creates an object.
prototype  x x x  x x x x x
  Read/write
  This property returns a reference to the object’s prototype. You use the prototype property to provide base functionality to a class of objects. See “Using the prototype Property” in this chapter.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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