Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Numbers</h1>
<h2>The Number.isFinite() method</h2>
<p>Number.isFinite() returns true if the value is a finite, legal number:</p>
<p id="demo"></p>
<p>Number.isFinite() is not supported in Internet Explorer.</p>
<script>
let result = Number.isFinite("123");
document.getElementById("demo").innerHTML = result;
</script>
</body>
</html>