mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
6 lines
151 B
CoffeeScript
6 lines
151 B
CoffeeScript
countdown: num for num in [10..1] by -1
|
|
|
|
deliverEggs: ->
|
|
for i in [0...eggs.length] by 12
|
|
dozen: eggs[i...i+12]
|
|
deliver new eggCarton(dozen)
|