---
title: "Discussion on \"Bitwise Operations and tricks\" | Hashnode"
description: "Discussion on \"Bitwise Operations and tricks\". You likely already know basic logical operations like AND and OR. Using if(condition1 && condition2) checks if both conditions are true, while OR (c1 || c2) requires at least one condition to be true.\nSame can be done bit-per-bit with whole numbers, ..."
url: "https://hashnode.com/posts/bitwise-operations-and-tricks/68d1c99733f528a4fb2dd69e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Bitwise Operations and tricks](https://shohan777.hashnode.dev/bitwise-operations-and-tricks?utm_source=hashnode&utm_medium=feed)

You likely already know basic logical operations like AND and OR. Using if(condition1 && condition2) checks if both conditions are true, while OR (c1 || c2) requires at least one condition to be true. Same can be done bit-per-bit with whole numbers, ...

Sep 22, 2025 · 8 min read · shohan777.hashnode.dev  
Updated Oct 30, 2025  
Read the article

-   [#bitwise-operators](https://hashnode.com/tag/bitwise-operators)
-   [#bitwise](https://hashnode.com/tag/bitwise)

## Written by

[shohanur rahman](https://hashnode.com/@katakuri)

@katakuri

  
[View profile](https://hashnode.com/@katakuri)

JavaScript Developer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
