Here is an excerpt from a JS encryption script that I am studying.
function permutationGenerator(nNumElements) {
this.nNumElements = nNumElements;
Left shift 8 bits and bitwise OR with j.
<< is the left shift operator. Shifts the bits in the variable left the number of positions indicated.
>> is the right shift operator. Shifts the bits in the variable right the number of position indicated.
| is the bitwise OR operator. Performs a logical OR on each bit in the two operands.
& is the bitwise AND operator. Performs a logical AND on each bit in the two operands.