toSource ( ) { String }

The toSource() method returns a string representing the source code of the object.

Returns

A string representing the source code of the object.

toString ( ) { String }

The toString() method returns a string representing the specified Boolean object.

Returns

A string representing the specified Boolean object.

valueOf ( ) { Boolean }

The valueOf() method returns the primitive value of a Boolean object.

Returns

The primitive value of the given Boolean object