1.

What Are Boolean Methods?

Answer»

Here is a list of the METHODS of Boolean object and their description.

  • TOSOURCE(): Returns a STRING containing the source of the Boolean object; you can use this string to CREATE an equivalent object.
  • toString(): Returns a string of either "true" or "false" depending upon the VALUE of the object.
  • valueOf(): Returns the primitive value of the Boolean object.

Here is a list of the methods of Boolean object and their description.



Discussion

No Comment Found