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