0
Q:

javascript not equal

!= not equal 
!== not equal value OR type
1
| <= | less than or equal to |	x <= 8 | true |
2
//Equal to or more than
a >= b
//Equal to or less than
a <= b
2
let a=12
if(a!=5){
  console.log(true)
}
since a is not equal to 5, it will print true
1
//&& 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
2
0 !== "0"
0 !== 0
1
<b>way to write Not equal to operator in JavaScript.</b>
<p id="myId"></p>

<script>
 if(list.value.length !=0){
 console.log("CHECK")
 }
</script>
0

New to Communities?

Join the community