Bit - Bitwise and Shift binary operator

> (Data|State) Management and Processing > (Data Type|Data Structure) > Number, Numeric, Quantity > Bit - Binary Number

1 - About

Operator on bit.

See Reference/Operators/Bitwise_Operators

Bitwise binary operator may also be used as assignment operator

Advertising

3 - List

  • the bitwise arithmetic operators (~, &, ^, and |)
  • and the shift operators (<<, >>, and >>>).

4 - Example

  • the bitwise OR expression:

console.log(6 | 2); // 6
console.log(8 | 1); // 9

data/type/number/bit/operator.txt · Last modified: 2017/09/17 17:36 by gerardnico