What's different in >> and >>> [closed] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What's different in >> and >>> [closed]

Hello, I've been looking at JavaScript operators for ..., haven't found it, but I found >>>, seems same as >>. There was only example 5 >> 1 = 2 and 5 >>> 1 = 2 which is same, from description I don't know much more, would someone have better example?

14th Aug 2021, 3:55 PM
nicolas turek
nicolas turek - avatar
2 Answers
+ 2
I've created script to test it and... Well... I still have no clue: https://code.sololearn.com/cq1XgrjLPyAF/?ref=app edit: I added negative numbers, now I see difference
14th Aug 2021, 4:10 PM
nicolas turek
nicolas turek - avatar