Infinity in ECMAScript 262

The static value "Infinity"

Description

This property of the Global object is accessible directly, and is the result value of various mathematical operations. This is also the value of the class property Number.POSITIVE_INFINITY.

var result = 1/0;
var isInfinite = (result == Infinity); // true
var equals = (Infinity == Number.POSITIVE_INFINITY); //true

Properties that are a Infinity

name object description
Infinity Global The static value "Infinity"