DEV Community

Discussion on: Why you should use === and not == in JS

Collapse
 
tremainebuchanan profile image
Tremaine Buchanan

Great post! I think you should also add that === checks both the data types and values of the operands while == only checks the value of the operands.