0 votes
in JavaScript by
What is the difference between == and ===?

1 Answer

0 votes
by

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

...