0

What is the difference between this three, =/== /=== ? In javascript

I need to know how to use them.

16th Aug 2022, 10:18 AM
Kuro Chi
Kuro Chi - avatar
2 Answers
+ 6
= is assignment == is equality (value) === is strict equality (identity) You can re-read the lessons as often as you. https://www.w3schools.com/js/js_comparisons.asp
16th Aug 2022, 10:27 AM
Lisa
Lisa - avatar
+ 4
Hi! One = -> assign variable value == and === -> logical comparison operators == compare two values without strict typing === compare with strict typing
16th Aug 2022, 10:27 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar