+ 2
What is use "x===y" in someone using code?
== is that a equality condition and = is the define variable vale but === what mean in codes
1 Resposta
+ 2
x===y checks not only the value of both variables, but the data type too.
1==true; //true
1===true; //false (different data types)