Table of contents Home page
Execute this code
var inf = Number.POSITIVE_INFINITY + 1 // POSITIVE_INFINITY plus something equals Infinity alert("Number.POSITIVE_INFINITY + 1 = " + inf) var inf = Number.POSITIVE_INFINITY * -2 // Multiplication of POSITIVE_INFINITY with a negative number yields negative Infinity alert("Number.POSITIVE_INFINITY × -2 = " + inf)