/

HTML / CSS / JavaScript Tutorial

JavaScript Boolean method: toString()

[this page | pdf | back links]

The toString() method (when applied to a JavaScript Boolean variable) returns a string corresponding to the boolean.

 

It has the following syntax (with no parameters):

 

boolean.toString()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Booleans


Desktop view | Switch to Mobile