or operator for javascript code example
Example: js or operator
/*OR operator:*/
||
// example:
var a = 10;
var b = 5;
if(a > 7 or b > 7){
print("This will print!")
}
// Even though a is not less than 7, b is, so the program will print
// the statement.