Skip to content

Instantly share code, notes, and snippets.

@davidsonfellipe
Created October 20, 2012 14:04
Show Gist options
  • Save davidsonfellipe/3923370 to your computer and use it in GitHub Desktop.
Save davidsonfellipe/3923370 to your computer and use it in GitHub Desktop.
Comma Operator
(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