QuestenaÜben und erkennen, was als Nächstes dran ist
Frage 3

What does the expression typeof null evaluate to?

  1. undefined
  2. null
  3. objectRichtige Antwort
  4. number

Erklärung

The typeof operator has a specified special case for null and produces the string object. Expecting null would seem intuitive from the value's primitive category, but that is not the operator's defined result.

Mit diesem Test weitermachen

Übung starten
Frage 3: What does the expression typeof null evaluate to? · JavaScript Fundamentals · Questena