JavaScript Global Methods
The isFinite() Method
isFinite() returns false if a value is Infinity, -Infinity, or NaN, otherwise true.