Conversion of Logical Values to Numeric Values
<HTML> <HEAD> <TITLE>Conversion of logical values to numeric values</TITLE> </HEAD> <BODY> <SCRIPT LANGUAGE="JavaScript"> <!-- document.write("true*5 + false*7 = ") document.write(true*5 +false*7) // --> </SCRIPT> </BODY> </HTML>