/documentation/coffee/while.coffee
http://github.com/jashkenas/coffee-script · CoffeeScript · 10 lines · 7 code · 1 blank · 2 comment · 3 complexity · 82eb300e9866995098a8124682b94a52 MD5 · raw file
- # Econ 101
- if this.studyingEconomics
- buy() while supply > demand
- sell() until supply > demand
- # Nursery Rhyme
- num = 6
- lyrics = while num -= 1
- "#{num} little monkeys, jumping on the bed.
- One fell out and bumped his head."