QuestenaПрактика, после которой понятно, что повторить
Вопрос 3

What does the expression typeof null evaluate to?

  1. undefined
  2. null
  3. objectПравильный ответ
  4. number

Объяснение

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.

Продолжить работу с тестом

Начать тренировку
Вопрос 3: What does the expression typeof null evaluate to? · JavaScript Fundamentals · Questena