Name

>>> — NN 2 IE J1 ECMA 1

Synopsis

The bitwise zero-fill right-shift operator. This operator shifts (to the right) the bits of the first operand by the number of columns specified by the second operand. With the bitwise right-shift operator, new digits that fill in from the left end are 1s; with the zero-fill right-shift operator, the new digits at the left are zeros. Any digits that fall off the right end of the number are discarded. Microsoft also refers to this operator as the unsigned right-shift operator.

Example

var shifted = 6 >>> 2

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.