NEGATIVE_INFINITY in JavaScript

<script language="JavaScript">
    <!--
    if((Math.sqrt(-2)) != Number.NEGATIVE_INFINITY_){
         document.write("This is not equal to NEGATIVE_INFINITY");
    }
    else{
        document.write("This is equal to NEGATIVE_INFINITY");
    }
    -->
    </script>