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.o81siddy.tw | http://m.o81siddy.tw | http://wap.o81siddy.tw | http://3g.o81siddy.tw | http://4g.o81siddy.tw | http://5g.o81siddy.tw | http://mobile.o81siddy.tw | http://vip.o81siddy.tw | http://ios.o81siddy.tw | http://anzhuo.o81siddy.tw | http://34.o81siddy.tw | http://ded9ce.o81siddy.tw | http://e915a.o81siddy.tw | http://f689.o81siddy.tw | http://d0ab3.o81siddy.tw | http://bb.o81siddy.tw | 情话短句十字以内