xxxxxxxxxx
/*in the example below make sure to do only one comparison at a time...do not a==b==c, this can sometimes work but sometimes will produce the wrong results*/
var a=1;
var b=2
var c=3
var d=5;
var e=5;
var f=5;
if(((a==b)&& (b==c)) || ((d==e) &&(e==f)))
{console.log("I run because one of the statements is true!");
}
else
{
console.log("I don't run because neither statement is true")
}