let conditionsArray = [ condition1, condition2, condition3, ] if (conditionsArray.indexOf(false) === -1) { "do somthing" }