QuestenaUn entraînement qui indique quoi revoir ensuite
Question 17

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

  1. null == 0
  2. undefined == false
  3. null == an empty string
  4. null == undefinedBonne réponse

Explication

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.

Continuer avec ce test

Commencer l’entraînement
Question 17: Which loose-equality statement is true under ordinary… · JavaScript Fundamentals · Questena