Created
March 8, 2014 14:50
-
-
Save gabeno/9431654 to your computer and use it in GitHub Desktop.
Deduce meaning of assignment operator |=
This file contains 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
a = new Array(); | |
for (var b = 0; b < 10; b++) { | |
a[0] |= b; // <= ? | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I came across this while reading this article