- (==)(!=) (==)(!=) considers the value but not the type
Example :
0=='0' //==> True
- (===)(!==) (===)(!==) considers the value AND the type
Example :
0==='0' ==> False
(==)(!=) does type coercion. It converts the value before comparing. Called "Loose equality" (===)(!==) doesn't convert. Called "Strict Equality"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness