Boolean Methods Flashcards
1
Q
toString()
A
Converts a boolean value to a string, and returns the result
2
Q
valueOf()
A
Returns the primitive value of a boolean
JavaScript Methods > Boolean Methods > Flashcards
toString()
Converts a boolean value to a string, and returns the result
valueOf()
Returns the primitive value of a boolean