Web Tools Table Maker3schools TranslateImage CompressorFavicon Icon GeneratorCrop & Resize Image
Apu
Apu February 05, 2023 › #Javascript #Q&A

What is the difference between == and === in JavaScript MCQ?

  • A) == equals
  • B) === equals
  • C) Cannot Compare
  • D) Both A and B

The right answer to the question is option D, which states that both "==" and "===" are comparison operators. The difference between both the operators is that == is a type-conversion based comparison, while === is a comparison without any type conversion.

save
listen
AI Answer
Write Your Answer
loading
back
View All