What is use "x===y" in someone using code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

5th Jun 2017, 7:37 AM
Kuldeep Kashyap
1 Answer
+ 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)
5th Jun 2017, 8:01 AM
Maart
Maart - avatar