| ||||||
SummaryRetrieves the negative infinity representation. | ||||||
Syntaxjsval JS_GetNegativeInfinityValue(JSContext *cx); | ||||||
DescriptionJS_GetNegativeInfinityValue retrieves a numeric representation of negative-infinity, given a specific JS context, cx . JS_GetNegativeInfinityValue returns a JS value.Negative infinity is typically used in JavaScript to represent numbers that are smaller than the minimum valid integer or double value. As a value in mathematical calculations, negative infinity behaves like infinity. For example, anything multiplied by infinity is infinity, and anything divided by infinity is zero.
| ||||||
See Also
|