/documentation/coffee/conditionals.coffee

http://github.com/jashkenas/coffee-script · CoffeeScript · 9 lines · 7 code · 2 blank · 0 comment · 4 complexity · 02d3f41e0bbd8841fe64d6d69086aa4b MD5 · raw file

  1. mood = greatlyImproved if singing
  2. if happy and knowsIt
  3. clapsHands()
  4. chaChaCha()
  5. else
  6. showIt()
  7. date = if friday then sue else jill