JavaScript Beginners Tutorial 12 | Bitwise Operators

preview_player
Показать описание
References:

Bitwise Operators
& AND sets each bit to 1 if both bits are 1
| OR sets each bit to 1 if one of two bits is 1
^ XOR sets each bit to 1 if only one of two bits is 1
~ NOT inverts all the bits
<< Left Shift shifts left and fills empty spaces with 0
>> Right Shift shifts right

Bitwise operators treat arguments as 32-bit numbers and work on the level of their binary representation

------------ UI TESTING ------------

------------ API TESTING ------------

------------ MOBILE TESTING ------------

------------ CI | CD | DEVOPS ------------

------------ VERSION CONTROL SYSTEM ------------

------------ PERFORMANCE TESTING ------------

------------ PROGRAMMING ------------

------------ IDE ------------

------------ MAVEN ------------

------------ OTHERS ------------

Keep Learning,
Raghav

You can support my mission for education by sharing this knowledge and helping as many people as you can.
Рекомендации по теме
Комментарии
Автор

Wondrous Explanation! The most beneficial explanation I could find. Thank You!

swaritk
Автор

Would be great if this covered some use cases/scenarios and how these can be useful. 3^5=>6 doesn't help me out of context.

mrskwrl
Автор

Thank you so much for the detailed information video on this topic, I was just go through with some tutorial, and i got stucked in not operator, now I have no doubt in my mind, it's really mean for me

transzogaming
Автор

Fantastic! Got to know what i wanted to!

ManuBharadwajBN
Автор

Thank you so much, Raghav! Your explanation is top notch <3

chiculitamihaela
Автор

What are the use cases for a bitwise operation? Why would you use bit wise AND operator on two numbers? I understand 5he operations but don't understand the use cases

StingSting
Автор

Thanks Raghav 👍, I've question- while using left shift operators, why we should consider 4bits instead of 8bits?

trilokvooka
Автор

Why did we take 8 digits for unary ~?

8:10

Priya-tqdu