Sunday, October 5, 2025
Latest:
  • German Pronouns with Nominative, Accusative, and Dative cases
  • German articles for the nominative, accusative, and dative cases
  • Der kleine Vogel und die Sonne
  • German alphabet pronunciation
  • Command design pattern
Upokary

Upokary

Quality information

  • Health
  • Life
  • Fashion
  • Food
  • Code
  • English
  • বাংলা
Technology 

Bitwise operators JavaScript

Published: June 8, 2022Last updated: May 29, 2023 bitwise operator, JavaScript

Bitwise operators work on the bit-level. In JavaScript, a set of 32-bit binary digits (zeros and ones) perform actions on the bit-level. However, the result is shown as a decimal value.

JavaScipt bitwise operators:

Operators Name Example
& Bitwise AND x & y
| Bitwise OR x | y
^ Bitwise XOR x ^ y
~ Bitwise NOT ~x
<< Left shift x << y
>> Sign-propagating right shift x >> y
>>> Zero-fill right shift x >>> y
Reference:
  • https://www.programiz.com/javascript/bitwise-operators

You May Also Like

Should we write a lot of code inside finally block?

June 22, 2023 beroza

What is Java annotation? Write some facts about Java annotation

January 25, 2019 beroza

What is useRef in React? What are the use cases of useRef?

August 14, 2021 beroza

How to use constructors in functional components using hooks?

August 28, 2021 beroza

How to set default value for items of List in Java?

May 7, 2020 beroza

Write a program that prints two alternate colors using JavaSript closures

November 19, 2021 beroza

How to do pass by reference in JavaScript?

April 27, 2021 beroza

Facade design pattern

December 24, 2023 beroza

How to join or merge two lists efficiently in Java?

July 18, 2020 beroza

Why Upokary?

Upokary.com is a useful application in everyday life. It provides very handy information regarding every aspect of life. Each and every tip of upokary.com is meant to make life better.

Upokary tools

  • Youtube thumbnail
  • Youtube video downloader

Useful Links

  • Handy code
  • Technology
  • People
  • Programming
  • Quote
  • Travel
  • WordPress
  • IELTS
  • Kids

Pages

  • Sitemap
  • Privacy policy
  • About us
  • Contact us

Support

For any kind of query or question please drop a message in the following email: upokary@gmail.com
Copyright © 2025 Upokary. All rights reserved.