QuestenaUn entraînement qui indique quoi revoir ensuite
Question 13

What does the strict equality operator do before comparing operands of different types?

  1. It performs no type conversionBonne réponse
  2. It converts both operands to strings
  3. It converts both operands to numbers
  4. It deeply compares object properties

Explication

Strict equality compares without converting either operand to another type. Describing it as a deep comparison is also wrong because separately created objects are not compared property by property.

Continuer avec ce test

Commencer l’entraînement
Question 13: What does the strict equality operator do before comparing… · JavaScript Fundamentals · Questena