<html>
<head>
<title>Displaying Maximum and Minimum Values</title>
<script type="text/javascript" language="javascript">
<!-- //
function ShowLimits(){
var maxAndMin = "Max Number: " + Number.MAX_VALUE + "\n";
maxAndMin += "Min Number: " + Number.MIN_VALUE;
document.write(maxAndMin);
}
// -->
</script>
</head>
<body onload="ShowLimits()">
</body>
</html>
|