1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/documentation/coffee/while.coffee

11 lines
241 B
CoffeeScript
Raw Normal View History

# Econ 101
2010-01-13 23:24:45 -05:00
if this.studying_economics
while supply > demand then buy()
while supply < demand then sell()
2009-12-21 11:41:45 -05:00
# Nursery Rhyme
2010-01-13 23:24:45 -05:00
num: 6
lyrics: while num -= 1
num + " little monkeys, jumping on the bed.
One fell out and bumped his head."