not equal in java script code example
Example 1: 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
Example 2: and operator in javascript
//&& returns true if both values are true
//or returns the second argument if the first is true
var a = true
var b = ""
var c = 1
true && "" //""
"" && 1 //""
false && 5 //false