Javascript examples for Number:NEGATIVE_INFINITY
The NEGATIVE_INFINITY property represents negative infinity.
Click the button to display negative infinity.
<!DOCTYPE html> <html> <body> <button onclick="myFunction()">Test</button> <p id="demo"></p> <script> function myFunction() {//from w w w. j ava 2s . c o m document.getElementById("demo").innerHTML = Number.NEGATIVE_INFINITY; } </script> </body> </html>
The following code shows how to