JavaScript » Bitwise » <<

This is the left shift operator and it works by shifting the digits of the binary representation of the first operand to the left by the number of places specified by the second operand.

The spaces created to the right are filled in by zeros, and any digits falling off the left are discarded.

Examples

Code:
result = a << b;
Explanation:

This code returns 52 as the binary of 13 (1101) is shifted two places to the left giving 110100.