Javascript [Electronic resources] : The Definitive Guide (4th Edition)

David Flanagan

نسخه متنی -صفحه : 844/ 279
نمايش فراداده

Availability

JavaScript 1.2; JScript 3.0; ECMAScript v1

Synopsis

isFinite(n)

Arguments

n

The number to be tested.

Returns

true if n is (or can be converted to) a finite number or false if n is NaN (not a number) or positive or negative infinity.

See Also

Infinity, isNaN( ), NaN, Number.NaN, Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY