Created
February 12, 2012 04:57
-
-
Save dawnerd/1806445 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var foo = Math.PI; | |
//Most common | |
Math.floor(foo); | |
//Double bitwise NOT | |
~~foo; | |
//Bitwise OR | |
foo | foo; | |
foo | 0; | |
//Bitwise AND | |
foo & foo; | |
//Bitwise shift | |
foo << 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment