1. This page is also available in 2 other languages

      ||

      [Boolean Operators]

      Description

      Logical OR results in a true if either of the two operands is true.

      Example Code

      This operator can be used inside the condition of an if statement.

      if (x > 0 || y > 0) { // if either x or y is greater than zero  // statements}

      Notes and Warnings

      Do not confuse the boolean || (double pipe) operator with the bitwise OR operator | (single pipe).

      See also

          1. http://www.mdfqgt4q.tw | http://m.mdfqgt4q.tw | http://wap.mdfqgt4q.tw | http://3g.mdfqgt4q.tw | http://4g.mdfqgt4q.tw | http://5g.mdfqgt4q.tw | http://mobile.mdfqgt4q.tw | http://vip.mdfqgt4q.tw | http://ios.mdfqgt4q.tw | http://anzhuo.mdfqgt4q.tw | http://b235cf.mdfqgt4q.tw | http://9dcf.mdfqgt4q.tw | http://7a628.mdfqgt4q.tw | http://d.mdfqgt4q.tw | http://e7.mdfqgt4q.tw | http://3e9b29.mdfqgt4q.tw | 老张和老李的幸福生活