QuestenaPráctica que te muestra qué repasar después
Pregunta 11

What is the result of Symbol("x") === Symbol("x")?

  1. falseRespuesta correcta
  2. true
  3. undefined
  4. TypeError

Explicación

Each call to Symbol creates a unique value, so two calls remain unequal even when their descriptions match. The description is useful text but does not act as a shared identity or intern the symbols.

Continúa con este test

Empezar la práctica
Pregunta 11: What is the result of Symbol("x") === Symbol("x")? · JavaScript Fundamentals · Questena