not equl to in js 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
//& (bitwise AND) operator
console.log(5 & 13); //outout: 5
/*
5 = 0101 (base 2)
13 = 1101 (base 2)
//AND every bit together from both numbers
+----+
|0101|
|1101|
+----+
|0101|
+----+
0101 = 5 (base 10)
*/