[Prev: Built-in Constants] [Home] [Next: NaN]
This is the value of any division by zero, i.e.
var i = 1/0;
In , division by zero does not raise an exception; instead it assigns the Infinity value as the result of the expression. Use isFinite() to test whether a value is finite or not.