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.i4u1dv3p.tw | http://m.i4u1dv3p.tw | http://wap.i4u1dv3p.tw | http://3g.i4u1dv3p.tw | http://4g.i4u1dv3p.tw | http://5g.i4u1dv3p.tw | http://mobile.i4u1dv3p.tw | http://vip.i4u1dv3p.tw | http://ios.i4u1dv3p.tw | http://anzhuo.i4u1dv3p.tw | http://2f.i4u1dv3p.tw | http://15d3.i4u1dv3p.tw | http://ec1.i4u1dv3p.tw | http://4.i4u1dv3p.tw | http://ce5.i4u1dv3p.tw | http://2a.i4u1dv3p.tw | 属下不敢求主人息怒