Result Size: 625 x 664
x
 
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Global Methods</h1>
<h2>The isFinite() Method</h2>
<p>isFinite() returns false if a value is Infinity, -Infinity, or NaN, otherwise true:</p>
<p id="demo"></p>
<script>
let result =
isFinite("Hello") + "<br>" +
isFinite("2005/12/12");
document.getElementById("demo").innerHTML = result;
</script>
</body>
</html>