New course! Every coder should learn Generative AI!
Try a free lesson+ 3
what is the diference between === and ==?
Which is better to be used?
2 Answers
+ 1
When you use === it matches the value and type while == only the value. Example 77 == '77' is true while if you try 77 === '77' would return false