var am=23; console.log( am &=13); /*this returns 5. this is because the binary value of 23 is 10111 and binary value of 13 is 1101. the AND operation between them gives 10111 which is 5 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