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

10 lines
241 B
CoffeeScript

# Econ 101
if this.studying_economics
while supply > demand then buy()
while supply < demand then sell()
# Nursery Rhyme
num: 6
lyrics: while num -= 1
num + " little monkeys, jumping on the bed.
One fell out and bumped his head."