Prev Demo
JavaScript
>
POSITIVE_INFINITY Property
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <p>Click the below button to return the Positive Infinity in JavaScript.</p> <input type="button" value="POSITIVE_INFINITY" onclick="Function()" /> <p id="myId"></p> <script> function Function() { document.getElementById("myId").innerHTML = Number.POSITIVE_INFINITY; } </script> </body> </html>
Note: We DO NOT save your trial code in our database.
Output