Operators

Unsigned right shift (>>>)

Try the free JavaScript compiler

Moves bits right with zero fill, giving an unsigned 32-bit Number result. BigInt operands are rejected.

Formal Syntax & Structure

javascript syntaxjavascript
left >>> right

Parameters & Attributes

NameTypeDescription
leftexpressionLeft operand.
rightexpressionRight operand; short-circuiting may skip evaluation where applicable.

Return Value

Number

Result of the operation.

Working Example

Example Snippetjavascript
console.log(-8 >>> 1);
JavaScript Reference