QuestenaPractice that shows what to review next
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 == undefinedCorrect answer

Explanation

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.

Continue with this test

Start practice
Question 17: Which loose-equality statement is true under ordinary… · JavaScript Fundamentals · Questena