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

Which loose-equality statement is true under ordinary language semantics?

  1. null == 0
  2. undefined == false
  3. null == an empty string
  4. null == undefinedПравильный ответ

Объяснение

Loose equality treats null and undefined as equal to one another in this case. It does not thereby make null equal to ordinary numbers, strings, or booleans, so extending the pairing to zero is incorrect.

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

Начать тренировку
Вопрос 17: Which loose-equality statement is true under ordinary… · JavaScript Fundamentals · Questena