+ 3
what is the diference between === and ==?
Which is better to be used?
2 odpowiedzi
+ 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
Which is better to be used?