Skip to main content

JAVA SCRIPT BOOLEAN

JAVA SCRIPT BOOLEAN

BOOLEAN PROPE RTIES
PROPE RTIESDESCRIPTION
constructorcReturns the function that created JavaScript's Boolean prototype
prototypeAllows you to add properties and methods to the Boolean prototype

BOOLEAN METHODS
METHODSDESCRIPTION
toString()Converts a boolean value to a string, and returns the result
valueOf()Converts a boolean value to a string, and returns the result

Comments