Monday, May 25, 2026
Latest:
  • In German, verb sein (to be) Konjunktion
  • Wichtige wörter für B1 prüfung
  • What are the main differences between ApplicationContext and BeanFactory?
  • German B1 Word list
  • How does Lazy annotation work in Spring?
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

Write a program to decrypt string from alphabet to integer mapping

June 8, 2022 beroza

How to redirect a page using ReactJS?

May 3, 2020 beroza

ReactJS hook related interview questions

July 10, 2019 beroza

What is pseudo element ::before and ::after in CSS?

May 9, 2019 beroza

How to remove a character from a position of a string in javascript?

March 28, 2022 beroza

When to use primitive and when reference types in Java?

May 26, 2020 beroza

How to get number of bits set to 1 of a binary number?

November 7, 2021 beroza

MySQL ERROR 1045 (28000): Access denied for user ‘mentor’@’localhost’

February 3, 2020 beroza

Left shift operator

December 19, 2023 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 © 2026 Upokary. All rights reserved.