javascript if and statement

JavaScript
if (5 < 10) {
	console.log("5 is less than 10");
} else {
	console.log("5 is now bigger than 10")
}let A = 1;
let B = 0;
if (A == 1 || B == 1){
  	// some code here
}if (A === B) && B === 1) {
  // Code here
}let a = 1;
let b = 2;
if(a == 1 && b ==2){
	// Code here 
}
Source

Also in JavaScript: