Whats the different between two (`==`) and three (`===`) equal signs?

= is assignment.
== check if values are equal:

3 == "3" // true

=== also check if the data type matches:

3 === "3" // false
127 Likes