ou à l'intérieur si javascript

let a = 1;
let b = 2;
if(a == 1 && b ==2){//this symbol is for AND
	// Code here 
}

let a = 1;
let b = 2;
if(a == 1 || b ==2){//this symbol is for OR
	// Code here 
}
Exuberant Echidna