tweaking multi-line ternary #3

Open
wants to merge 1 commit into
from
+3 −3
6 README.md
@@ -238,9 +238,9 @@ The ternary operator should not be used on a single line. Split it up into multi
*Right:*
```js
-var foo = (a === b)
- ? 1
- : 2;
+var foo = (a === b) ?
+ 1 :
+ 2;
@lxe
lxe added a line comment Feb 21, 2014

ugh this is now worse.

@jmonster
jmonster added a line comment Feb 21, 2014

it now serves a runtime unambiguity purpose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
```
*Wrong:*