'Boolean' Example
<html> <body> <script language="javascript"> function myFunction(){ var bool = new Boolean(true); alert(bool); } </script> <button onclick="myFunction();">True or false</button> </body> </html>