Section 24.91. Infinity: a numeric property that represents infinity


24.91. Infinity: a numeric property that represents infinity

ECMAScript v1

24.91.1. Synopsis

 Infinity 

24.91.2. Description

Infinity is a global property that contains the special numeric value representing positive infinity. The Infinity property is not enumerated by for/in loops and cannot be deleted with the delete operator. Note that Infinity is not a constant and can be set to any other value, something that you should take care not to do. (Number.POSITIVE_INFINITY is a constant, however.)

24.91.3. See Also

isFinite( ), NaN, Number.POSITIVE_INFINITY




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net