1let a = 1;
2let b = -1;
3
4if (a > 0 & b > 0){
5 console.log("and");
6} else if (a > 0 || b > 0){
7 console.log("or");
8}
1const a = 3;
2const b = -2;
3
4console.log(a > 0 || b > 0);
5// expected output: true
1// === means equal value and equal type
2var x = 5
3
4// true
5x === 5
6
7// false
8x === "5"