Can someone explain me the operators <<=, >>=, >>>=, AND, OR, XOR in javascript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Can someone explain me the operators <<=, >>=, >>>=, AND, OR, XOR in javascript?

I really don't get that of bits with this operators.

20th Nov 2020, 1:55 AM
Carmen Lucía
Carmen Lucía - avatar
2 Answers
+ 8
This is a wonderful course: https://www.sololearn.com/learn/4070/?ref=app a <<= b is the short form of a = a << b a >>= b is the same as a = a >> b And so on
20th Nov 2020, 2:12 AM
Kevin ★
+ 1
Thank you!
20th Nov 2020, 1:34 PM
Carmen Lucía
Carmen Lucía - avatar