JavaScript & jQuery Tutorials

JS Home Right Arrow JS Reference Right Arrow Infinity

Infinity global variable

The JavaScript global variable Infinity is a numeric value that represents +/- infinity.


The following code illustrates Infinity.

// Initial value.

// Negative infinity.

Press the button below to action the above code:

Related Tutorials

JavaScript Advanced Tutorials - Lesson 3 - Number


go to home page Homepage go to top of page Top