- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is Bitwise Right Shift Operator (>>) in JavaScript?
The left operand’s value is moved right by the number of bits specified by the right operand.
Example
You can try to run the following code to learn how to work with Bitwise Right Shift Operator −
<html> <body> <script> var a = 2; // Bit presentation 10 var b = 3; // Bit presentation 11 document.write("(a >> b) => "); result = (a >> b); document.write(result); </script> </body> </html>
- Related Articles
- What is JavaScript Bitwise Right Shift(>>) Operator?
- Bitwise right shift operator in Java
- What does the bitwise right shift operator do in Java?
- What is Bitwise Left Shift Operator (
- What is unsigned Right Shift Operator (>>>) in JavaScript?
- Explain JavaScript Bitwise NOT, Left shift and Right shift?
- What is right shift (>>) operator in Python?
- What is JavaScript Bitwise Left Shift(
- Bitwise right shift operators in C#
- What does the bitwise left shift operator do in Java?
- What is JavaScript Bitwise AND (&) Operator?
- What is JavaScript Bitwise OR (|) Operator?
- What is JavaScript Bitwise NOT(~) Operator?
- What is JavaScript Bitwise XOR (^) Operator?
- What is Bitwise AND Operator (&) in JavaScript?

Advertisements