0
What is the difference between this three, =/== /=== ? In javascript
I need to know how to use them.
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
+ 4
Hi! One = -> assign variable value
== and === -> logical comparison operators
== compare two values without strict typing
=== compare with strict typing