Skip to content

Instantly share code, notes, and snippets.

@ajmurmann
Created February 8, 2012 04:12
Show Gist options
  • Save ajmurmann/1765384 to your computer and use it in GitHub Desktop.
Save ajmurmann/1765384 to your computer and use it in GitHub Desktop.
ternary alternative
(x > y) ? x : y == (x > y) && x || y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment