crop_rotate
Run
<!DOCTYPE html> <html> <body> <h2>JavaScript Number Methods</h2> <p>The isFinite() method returns false if the argument is Infinity or NaN.</p> <p>Otherwise it returns true.</p> <p id="demo"></p> <script> document.getElementById("demo").innerHTML = isFinite(10 / 0) + "<br>" + isFinite(10 / 1); </script> </body> </html>
JavaScript Number Methods
The isFinite() method returns false if the argument is Infinity or NaN.
Otherwise it returns true.