Created
January 23, 2012 01:36
-
-
Save cweider/1659874 to your computer and use it in GitHub Desktop.
The new style of `if` statement formatting for JS!?
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
if (x == y) { | |
something_equal(); | |
} | |
else if (x < y) { | |
something_less(); | |
} | |
else { | |
something_great(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment