About 206,000 results
Open links in new tab
  1. Right shift (>>) - JavaScript | MDN - MDN Web Docs

    Apr 22, 2025 · The right shift (>>) operator returns a number or BigInt whose binary representation is the first operand shifted by the specified number of bits to the right. Excess …

  2. JavaScript Bitwise Operations - W3Schools

    JavaScript (Sign Preserving) Bitwise Right Shift (>>) This is a sign preserving right shift. Copies of the leftmost bit are pushed in from the left, and the rightmost bits fall off:

  3. Right Shift (>>) Bitwise Operator in JavaScript - GeeksforGeeks

    May 23, 2023 · JavaScript bitwise right shift operator is used to operate on two operands where the left operand is the number and the right operand specifies the number of bits to shift …

  4. operators - What do ">>" and "<<" mean in Javascript? - Stack Overflow

    Aug 9, 2011 · Return the result of performing a sign-extending right shift of lnum by shiftCount bits. The most significant bit is propagated. The result is a signed 32-bit integer.

  5. JavaScript Tutorial => Shift Operators

    The right shift operator (value) >> (shift amount) is also known as the "Sign-propagating right shift" because it keeps the sign of the initial operand. The right shift operator shifts the value …

  6. Right Shift Assignment Operator (>>=) - C Point

    The >>= operator shifts the bits of result right by the number of bits specified in expression. The sign bit of result is used to fill the digits from the left. Digits shifted off the right are discarded.

  7. JavaScript right shift assignment operator - AlphaCodingSkills

    The Bitwise right shift operator (>>) takes the two numbers and right shift the bits of first operand by number of place specified by second operand. For example: for right shifting the bits of x by …

  8. JavaScript Unsigned Right Shift Assignment Operator

    Jan 24, 2023 · 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 …

  9. Right Shift - JavaScript - W3cubDocs

    Right shift (>>) The >> operator returns a number or BigInt whose binary representation is the first operand shifted by the specified number of bits to the right. Excess bits shifted off to the right …

  10. javascript - Bitwise operation - Zero-fill right shift (>>>) usages ...

    I may want to use as unsigned int0xfffffff7 and do the right shift to divide it. A simple and often use case is to convert a variable to 32-bit unsigned integer (UInt32). When you do variable >>> 0, …

  11. Some results have been removed