VOOZH about

URL: https://www.geeksforgeeks.org/javascript/javascript-unsigned-right-shift-assignment-operator/

⇱ JavaScript Unsigned Right Shift Assignment Operator - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

JavaScript Unsigned Right Shift Assignment Operator

Last Updated : 15 Jul, 2025

In JavaScript ">>>=" is known as the unsigned right shift assignment bitwise operator. This operator is used to move a particular amount of bits to the right and returns a number that is assigned to a variable.

Syntax:

a >>>= b

Meaning: a = a >>> b

Return value: It returns the number after shifting of bits.

Example 1: This example shows the basic use of the Javascript Unsigned Right Shift Assignment Operator.

Output:

16>>>=2 is 4

Example 2: Using a variable to store the return value by >>> operator.

Output:

6>>>3 is 0
15>>>2 is 3
10>>>1 is 5
Comment
Article Tags:
Article Tags: