javascript if x is not equal to y code example
Example 1: javascript not equal
0 !== "0"
0 !== 0
Example 2: === javascript
// === means equal value and equal type
var x = 5
// true
x === 5
// false
x === "5"
0 !== "0"
0 !== 0
// === means equal value and equal type
var x = 5
// true
x === 5
// false
x === "5"