I need to set value to a that depends on a condition.
a
What is the shortest way to do this with CoffeeScript?
E.g. this is how I\'d do it in Java
CoffeeScript has no ternary operator. That's what the docs say.
CoffeeScript
You can still use a syntax like
a = true then 5 else 10
It's way much clearer.