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


The == operator checks equality only whereas === checks equality, and data type, i.e., a value must be of the same type.


Leave a Reply

Your email address will not be published. Required fields are marked *