rainforestapp / decaf

Coffeescript to ES.next transpiler. Now maintained over at
https://github.com/juliankrispel/decaf
MIT License
106 stars 10 forks source link

Simple `if` statement should not become ternary in statement context #120

Closed eventualbuddha closed 8 years ago

eventualbuddha commented 8 years ago

Here's an example:

if a
  b
(a ? b : undefined);

Originally from browser.coffee.