javascript check string is not equal to code example
Example 1: != javascript
// " != " in Javasacript means : not equal.
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
// " != " in Javasacript means : not equal.
let a=12
if(a!=5){
console.log(true)
}
since a is not equal to 5, it will print true