mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-01-14 09:17:55 -05:00
17 lines
172 B
CoffeeScript
17 lines
172 B
CoffeeScript
i: 100
|
|
while i -= 1
|
|
|
|
print i is 0
|
|
|
|
|
|
i: 5
|
|
list: while i -= 1
|
|
i * 2
|
|
|
|
print list.join(' ') is "8 6 4 2"
|
|
|
|
|
|
i: 5
|
|
list: (i * 3 while i -= 1)
|
|
|
|
print list.join(' ') is "12 9 6 3" |