Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ternary in CoffeeScript

if foo then 'bar' else 'baz'

// Generated by CoffeeScript 1.3.3

if (foo) {
  'bar';

} else {
  'baz';

}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.