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.alphls35.tw | http://m.alphls35.tw | http://wap.alphls35.tw | http://3g.alphls35.tw | http://4g.alphls35.tw | http://5g.alphls35.tw | http://mobile.alphls35.tw | http://vip.alphls35.tw | http://ios.alphls35.tw | http://anzhuo.alphls35.tw | http://7768c.alphls35.tw | http://648106.alphls35.tw | http://b0487.alphls35.tw | http://05825.alphls35.tw | http://c86b.alphls35.tw | http://a3a425.alphls35.tw | 麻豆原创兄妹蕉谈