Created
December 10, 2014 20:11
-
-
Save taotetek/0af2c6b9a6fd109d8d3c to your computer and use it in GitHub Desktop.
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
if foo { | |
return bar | |
} | |
return baz |
syntax error: unexpected ?
it's a contextless one liner!
Get a room you two.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
return ((foo) ? bar : baz); // fixed it for you