+ 5

Would like to ask what's the functions of "<<", "<<<", ">>" and ">>>" in javascript, how does it work...?

23rd Jun 2017, 11:59 PM
Yen
Yen - avatar
2 Antworten
+ 3
<< is a zero fill left bit shift operator >> is a signed right bit shift operator >>> is a zero fill right bit shift operator <<< This doesn't exist and will produce an error https://www.w3schools.com/js/js_bitwise.asp
24th Jun 2017, 2:21 AM
ChaoticDawg
ChaoticDawg - avatar
+ 1
Hi ChaoticDawg, noted with thanks.
24th Jun 2017, 3:59 PM
Yen
Yen - avatar