Infinity global variable
     
    JS Home  << 
    JS Reference  << 
    Infinity
  
  The JavaScript global variable Infinity is a numeric value that represents +/- infinity.
- Initial value is the same as  
Number.POSITIVE_INFINITY. - Negative infinity is the same as  
Number.NEGATIVE_INFINITY. 
Examples
The following code illustrates Infinity.
// Initial value.
alert(Infinity); 
// Negative infinity.
alert(-Infinity); 
		Related Tutorials
JavaScript Advanced Tutorials - Lesson 3 - Number
