TherapyNotes interview question

What is the difference between "=" "==" and "===" in Javascript

Interview Answer

Anonymous

Jun 8, 2026

= is assignment, == is comparison with type conversion, and === is strict comparison. For example, with == the number value 3 and the string value "3" will result in true. Whereas with ===, it is false.