var x=23;y=3 console.log( x >>=y); //returns 2. this shifts the binary of 23 which is 10111 to the right side which is now 10 expressed as 2 in decimal.
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter