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?
12 out of 16 found this helpful
Have more questions? Submit a request

Comments