This is a built-in function to check for the infinity value. Because it is a member of the Global object, and the Global object is permanently in the prototype inheritance chain, you don't need to identify which object the function belongs to.
Applies the internal ToNumber operator to its argument, then returns true or false depending on whether the value is a finite number or not.
The result is true for a valid and finite numeric value and false if the value is NaN or one of the Infinities.
See also: | Enquiry functions, Function property, Global object, Infinity, Special type, ToNumber |
Prev | Home | Next |
isElementProperty() | Up | isGraph() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |