Coding & Programming > JavaScript Forum

Negative infinity in JavaScript?


Hello friends,
I would like to know,
What is called as negative infinity in JavaScript?

It is defined as number in JavaScript, derived by dividing negative number by zero

The value of Number.NEGATIVE_INFINITY is the same as the negative value of the global object's Infinity property. This value behaves slightly differently than mathematical infinity: Any negative value, including NEGATIVE_INFINITY , multiplied by NEGATIVE_INFINITY is POSITIVE_INFINITY

The NEGATIVE_INFINITY property represents negative infinity. Negative infinity can be explained as something that is lower than any other number.


[0] Message Index

Go to full version