how to use not equal to in javascript code example
Example 1: js logical operators
Javascript Logical Operators
&& Logical and
|| Logical or
! Logical not
Example 2: javascript does not equal
!= not equal
!== not equal value OR type
Example 3: 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