Follow

What's the difference between === and == ?

=== checks type and value, == just checks value. For example: 5 === "5" will evaluate to false while

5 == "5" will evaluate to true.

Was this article helpful?
10 out of 14 found this helpful
Have more questions? Submit a request

Comments