not equal javascript in strings code example
Example 1: javascript not equal
0 !== "0"
0 !== 0
Example 2: not equal to in js
let a=12
if(a!=5){
console.log(true)
}
since a is not equal to 5, it will print true
0 !== "0"
0 !== 0
let a=12
if(a!=5){
console.log(true)
}
since a is not equal to 5, it will print true