QuestenaPractice that shows what to review next
Question 11

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

  1. falseCorrect answer
  2. true
  3. undefined
  4. TypeError

Explanation

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.

Continue with this test

Start practice
Question 11: What is the result of Symbol("x") === Symbol("x")? · JavaScript Fundamentals · Questena