Created
February 16, 2012 23:41
-
-
Save hughfdjackson/1848816 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
| function foo(a){ | |
| return a == 1 ? "that was one!" | |
| : a == 2 ? "and that one was twoooo" | |
| : /* otherwise */ "I can't deal with bigger numbers" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment