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