🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: JavaScript Basics: all 9 questions

Quiz: JavaScript Basics · Question 3 of 9

What does 5 === "5" return?

What does 5 === "5" return?

  1. A.true
  2. B.false
  3. C.undefined
  4. D.an error
Answer & explanation

Correct answer: false

Strict equality also compares types: number vs string.

Can you get the rest right without peeking?

Take the timed Quiz: JavaScript Basics quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →