JS Built-ins
NumberNEGATIVE_INFINITYbeginner

Number.NEGATIVE_INFINITY β€” typeof

πŸ“– Usage Example
// Represents negative infinity
Number.NEGATIVE_INFINITY          // β†’ -Infinity
-1 / 0 === Number.NEGATIVE_INFINITY   // β†’ true

Use Number.NEGATIVE_INFINITY to represent or compare against negative infinity, such as when a computation underflows.

typeof NEGATIVE_INFINITY

πŸ’‘ Hints (1)
  • β€’ Infinities are `number` type, just like finite numbers.