QuestenaPráctica que te muestra qué repasar después
Pregunta 7

Complete the code-reading result: typeof NaN evaluates to which string?

  1. NaN
  2. numberRespuesta correcta
  3. undefined
  4. object

Explicación

NaN is a special Number value, so typeof reports number for it. Treating NaN as a separate type mistakes a distinguished numeric value for a category in the type system.

Continúa con este test

Empezar la práctica
Pregunta 7: Complete the code-reading result: typeof NaN evaluates to… · JavaScript Fundamentals · Questena