Boolean in JavaScript

<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>