In a >> b
, >>
is a bitwise operator that shifts a
in binary representation b
(< 32) bits to the right, discarding bits shifted off.
Reference: https://developer.mozilla.org/en/JavaScript/Reference/Operators/Bitwise_Operators
More Related Contents:
- Is there a “null coalescing” operator in JavaScript?
- Question mark and colon in JavaScript
- What is the difference between the `=` and `==` operators and what is `===`? (Single, double, and triple equals)
- What is the JavaScript >>> operator and how do you use it?
- Why does JavaScript handle the plus and minus operators between strings and numbers differently?
- What does = +_ mean in JavaScript
- What do these JavaScript bitwise operators do?
- Are Variable Operators Possible?
- Why does (0 < 5 < 3) return true?
- Javascript: operator overloading
- What does the ^ (caret) symbol do in JavaScript?
- What is the instanceof operator in JavaScript?
- How does !!~ (not not tilde/bang bang tilde) alter the result of a ‘contains/included’ Array method call?
- What is the !! (not not) operator in JavaScript?
- JavaScript comparison operators: Identity vs. Equality
- Why does a shift by 0 truncate the decimal?
- What does the || operator do?
- What is the difference between != and !== operators in JavaScript?
- Understanding Incrementing
- Can I use chained comparison operator syntax? [duplicate]
- What do “>>” and “
- How does !!~ (not not tilde/bang bang tilde) alter the result of a ‘contains/included’ Array method call?
- && operator in Javascript
- What is “?:” notation in JavaScript?
- What is the difference between the = and == operators, and what is ===?
- spread operator vs array.concat()
- How can I round to whole numbers in JavaScript?
- Is it possible to create custom operators in JavaScript?
- Logical operator && and two strings in javascript
- What does “!” operator mean in javascript when it is used with a non-boolean variable?