JetBrains/kotlin — pull request #500 by MichaelNedzelsky (2014-07-21 13:15:19+00:00)
Title: JS backend: fix generated code for ternary operator

There was an error in JsToStringGenerationVisitor for nested conditional operators.
The conditional operator is right associative (see
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Conditional_Operator),
but code in visit Conditional method assumes the left associativity.