what the difference What is the difference between == and ===? code example
Example: difference between == and ===
var a = 23;
var b = "23";
a == b // true (Equalit without type check)
a === b // false (Equality with type check)
var a = 23;
var b = "23";
a == b // true (Equalit without type check)
a === b // false (Equality with type check)