Boolean.valueOf() : Boolean : Number Data Type JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Number Data Type » Boolean »

 

Boolean.valueOf()









Syntax








boolean.valueOf()



This method returns a Boolean value contained in the object.












<html>
    <script language="JavaScript">
    <!-- 
    bool = new Boolean(1);
    document.write(bool.valueOf());
    -->
    </script>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Number Data Type
» Boolean