Boolean Object Verses Primitive Boolean Value : Boolean « Number Data Type « JavaScript Tutorial






<html>
    <script language="JavaScript">
    <!--
    boolObj = new Boolean("false");
    document.write("boolObj = ",boolObj);
    document.write(" [",typeof boolObj,"]<br>");

    boolVal = Boolean(false);
    document.write("boolVal = ",boolVal);       
    document.write(" [",typeof boolVal,"]");    

    -->
    </script>
</html>








5.2.Boolean
5.2.1.Boolean
5.2.2.Boolean Object Verses Primitive Boolean Value
5.2.3.Boolean.prototype
5.2.4.Boolean.toSource()
5.2.5.Boolean.toString()
5.2.6.Boolean.valueOf()