Maximum minimum values in JavaScript

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