1.

What is the difference between "==" and "==="?

Answer»

The DIFFERENCE between "==" and "===" is as following

S.no"==""==="
1.The operator "==" tests the abstract equality, which MEANS before making equality comparison, it does the NECESSARY type conversions.The operator "===" tests only STRICT equality, i.e., this will not perform type conversion; hence if values compared here are not the same type, it will RETURN false.


Discussion

No Comment Found