This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.
Smartphone icons created by Freepik - Flaticon
The isFinite() method returns false if the argument is Infinity or NaN.
Otherwise it returns true.
document.getElementById("demo").innerHTML = isFinite(10 / 0) + "<br>" + isFinite(10 / 1);