O'Reilly logo
  • Nivan Morgan thinks this is interesting:

if ((x == 0 && y == 0) || !(z == 0)) {
    // x and y are both zero or z is non-zero 
}

From

Cover of JavaScript: The Definitive Guide, 6th Edition

Note

logical expression for combining ( 2 or more conditions booleans)