Returns a Boolean value that indicates if a supplied number is finite.
Syntax
isFinite(number)
The number argument is a required numeric value.
Example
The isFinite method returns true if number is any value other than NaN, negative infinity, or positive infinity. In those three cases, it returns false.