Created
October 20, 2012 14:04
-
-
Save davidsonfellipe/3923370 to your computer and use it in GitHub Desktop.
Comma 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 && B) | |
//Always evaluate A | |
//If A is true, evaluate B | |
(A || B) | |
//Always evaluate A | |
//If A is false, evaluate B | |
(A, B) | |
//Always evaluate A | |
//Always evaluate B |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment