

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 Questions & Answers
- What is JavaScript Bitwise Right Shift(>>) Operator?
- What is unsigned Right Shift Operator (>>>) in JavaScript?
- What is right shift (>>) operator in Python?
- Bitwise right shift operator in Java
- What are Left Shift and Right Shift Operators (>> and <<) in C#?
- What does the bitwise right shift operator do in Java?
- What is JavaScript Bitwise Left Shift(<<) Operator?
- What is Bitwise Left Shift Operator (<<) in JavaScript?
- Explain JavaScript Bitwise NOT, Left shift and Right shift?
- What is the ?-->? operator in C++?
- Bitwise right shift operators in C#
- What does the >> operator do in Python?
- What is JavaScript Bitwise OR (|) Operator?
- What is JavaScript Bitwise NOT(~) Operator?
- What is JavaScript Bitwise XOR (^) Operator?
Advertisements