Boolean.toString

toString — Returns a string representation of the specified Boolean object.

Description

Boolean.toString()

Examples

Example #1 – toString example
var b = new Boolean(true); console.log(typeof b.toString()); // Will return "string". console.log(b.toString()); // Will be the actial string "true".

External references