Number.NaN

Term side of the Card
Topic: Number
Unit title: Number.NaN
Categories: Constant
Explanation side of the Card

Explanation: The special constant that represents `NaN` (Not-a-Number). This is typically returned when a mathematical operation cannot produce a valid number, such as 0 / 0 or `parseInt('abc')`.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: