Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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 
}
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
2+2 =