Answers for "or inside if javascript"

1

or inside if 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 
}
Posted by: Guest on March-08-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language