js if both are true code example
Example: 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)
*/