+ 1
What do you mean by identical in operators?
There is a equal to operator and also a equal to and identical operator, what does that mean?
1 Antwort
+ 3
The equal to operator (==) will compare whether two values are equal, but the identical operator (===) will compare whether two values are equal and of the same data type.
For instance: 1 == "1" is true, but 1 === "1" is false because 1 is an integer and "1" is a string.